Skip to content

Commit

Permalink
fix: CRAY from older saves should set .tmp2 to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Aug 30, 2015
1 parent 48dbc41 commit 282d1fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/GameSave.cpp
Expand Up @@ -1039,7 +1039,10 @@ void GameSave::readOPS(char * data, int dataLength)
if (savedVersion < 91)
{
if (particles[newIndex].tmp2)
{
particles[newIndex].ctype |= particles[newIndex].tmp2<<8;
particles[newIndex].tmp2 = 0;
}
}
}
//note: PSv was used in version 77.0 and every version before, add something in PSv too if the element is that old
Expand Down

0 comments on commit 282d1fb

Please sign in to comment.