Check for version before enabling movable flag for sponge.

This commit is contained in:
Savely Skresanov 2012-05-23 22:20:14 +07:00
parent d0a1b14409
commit 393d247312

View File

@ -2267,7 +2267,7 @@ int parse_save_PSv(void *save, int size, int replace, int x0, int y0, unsigned c
STKM_init_legs(&(fighters[fcount]), i-1);
}
}
else if (parts[i-1].type == PT_SPNG)
else if (ver<79 && parts[i-1].type == PT_SPNG)
{
if (fabs(parts[i-1].vx)>0.0f || fabs(parts[i-1].vy)>0.0f)
parts[i-1].flags |= FLAG_MOVABLE;