mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 15:41:35 +02:00
TPT: Check for version before enabling movable flag for sponge. 393d247312
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user