From db653cc4763dadb03c5a8de26462f6569454794a Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Sun, 28 Dec 2008 02:22:32 +0000 Subject: [PATCH] - Clock powerup now freezes corpses too --- rc.c | 2 +- shared.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/rc.c b/rc.c index 38dacac..6a5d4e0 100644 --- a/rc.c +++ b/rc.c @@ -2411,7 +2411,7 @@ int movesprite(sprite_t *s) { // only player can move if you have a clock if (globpowerup == PW_CLOCK) { - if (!iseffect(s->id) && (!isplayer(s)) && !s->caughtby && !s->dead) { + if (!iseffect(s->id) && (!isplayer(s)) && !s->caughtby) { return B_FALSE; } } diff --git a/shared.c b/shared.c index d3c263e..95ecc0a 100644 --- a/shared.c +++ b/shared.c @@ -2041,7 +2041,11 @@ void drawsprite(sprite_t *s) { } else if (s->id == P_SNAIL) { frame = F_DEAD; } else { - frame = F_DEAD + ((timer/2) % 4); + if (globpowerup == PW_CLOCK) { + frame = F_DEAD + 2; + } else { + frame = F_DEAD + ((timer/2) % 4); + } } } else if (s->id == P_KINGSNAIL) { // frame based on state