From 393d247312780c7d49af4c48107d70c3214b25ff Mon Sep 17 00:00:00 2001 From: Savely Skresanov Date: Wed, 23 May 2012 22:20:14 +0700 Subject: [PATCH] Check for version before enabling movable flag for sponge. --- src/save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/save.c b/src/save.c index 6cb02e643..b5f3b3913 100644 --- a/src/save.c +++ b/src/save.c @@ -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;