Fixed bug with spider hitting bottom of screen.

This commit is contained in:
Rob Pearce 2008-10-19 09:08:02 +00:00
parent 53fe1cbc2e
commit da545ce57e
1 changed files with 1 additions and 1 deletions

2
rc.c
View File

@ -2578,7 +2578,7 @@ if (s->id == P_PUFF) printf("PUFF WITH DOOMCOUNT!\n");
} }
/* if on ground, go up */ /* if on ground, go up */
if ((isonground(s) && !s->flies) || (s->y >= (480-TILEH))) { if (!s->flies && (isonground(s) || (s->y >= (480-TILEH) ) )) {
s->flies = B_TRUE; s->flies = B_TRUE;
s->falling = B_FALSE; s->falling = B_FALSE;
s->ys = -getspeed(s); s->ys = -getspeed(s);