fix: CRAY from older saves should set .tmp2 to 0
This commit is contained in:
parent
48dbc4182d
commit
282d1fbf0c
@ -1039,7 +1039,10 @@ void GameSave::readOPS(char * data, int dataLength)
|
|||||||
if (savedVersion < 91)
|
if (savedVersion < 91)
|
||||||
{
|
{
|
||||||
if (particles[newIndex].tmp2)
|
if (particles[newIndex].tmp2)
|
||||||
|
{
|
||||||
particles[newIndex].ctype |= particles[newIndex].tmp2<<8;
|
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
|
//note: PSv was used in version 77.0 and every version before, add something in PSv too if the element is that old
|
||||||
|
Loading…
Reference in New Issue
Block a user