From da545ce57e45f6f53f91afe3dff6792115efb037 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Sun, 19 Oct 2008 09:08:02 +0000 Subject: [PATCH] Fixed bug with spider hitting bottom of screen. --- rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc.c b/rc.c index b9d5c88..4ddf0c2 100644 --- a/rc.c +++ b/rc.c @@ -2578,7 +2578,7 @@ if (s->id == P_PUFF) printf("PUFF WITH DOOMCOUNT!\n"); } /* 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->falling = B_FALSE; s->ys = -getspeed(s);