- Clock powerup now freezes corpses too
This commit is contained in:
parent
a7505df520
commit
db653cc476
2
rc.c
2
rc.c
|
@ -2411,7 +2411,7 @@ int movesprite(sprite_t *s) {
|
||||||
|
|
||||||
// only player can move if you have a clock
|
// only player can move if you have a clock
|
||||||
if (globpowerup == PW_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;
|
return B_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
6
shared.c
6
shared.c
|
@ -2041,7 +2041,11 @@ void drawsprite(sprite_t *s) {
|
||||||
} else if (s->id == P_SNAIL) {
|
} else if (s->id == P_SNAIL) {
|
||||||
frame = F_DEAD;
|
frame = F_DEAD;
|
||||||
} else {
|
} 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) {
|
} else if (s->id == P_KINGSNAIL) {
|
||||||
// frame based on state
|
// frame based on state
|
||||||
|
|
Loading…
Reference in New Issue