TPT: Check for version before enabling movable flag for sponge. 393d247312

This commit is contained in:
Simon Robertshaw 2012-06-12 18:55:44 +01:00
parent 0e8d055d8b
commit 5144451b30

View File

@ -1165,7 +1165,7 @@ void GameSave::readPSv(char * data, int dataLength)
// no more particle properties to load, so we can change type here without messing up loading
if (i && i<=NPART)
{
if (particles[i-1].type == PT_SPNG)
if (ver<79 && particles[i-1].type == PT_SPNG)
{
if (fabs(particles[i-1].vx)>0.0f || fabs(particles[i-1].vy)>0.0f)
particles[i-1].flags |= FLAG_MOVABLE;