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

This commit is contained in:
jacob1 2015-08-30 19:03:01 -04:00
parent 48dbc4182d
commit 282d1fbf0c

View File

@ -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