Permalink
Browse files

fix: CRAY from older saves should set .tmp2 to 0

  • Loading branch information...
jacob1 committed Aug 30, 2015
1 parent 48dbc41 commit 282d1fbf0cf40fa186868c7120a6b7767519f29e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/client/GameSave.cpp
@@ -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

0 comments on commit 282d1fb

Please sign in to comment.