From 66cf5dd1d216b71899831fe8cbb676057c5757f7 Mon Sep 17 00:00:00 2001 From: James Haley Date: Wed, 2 Mar 2011 00:51:07 +0000 Subject: Fixed automap background color, size of plrkilledmsg buffer, a bug which caused the scanner to never be depleted from the inventory, and emulation of seemingly inconsequential undefined behavior in P_XYMovement via use of negative numspechit is currently addressed by changing the branch condition to > 0. Subversion-branch: /branches/strife-branch Subversion-revision: 2286 --- src/strife/r_things.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/r_things.c') diff --git a/src/strife/r_things.c b/src/strife/r_things.c index bda7a81c..a4a5595d 100644 --- a/src/strife/r_things.c +++ b/src/strife/r_things.c @@ -772,7 +772,7 @@ void R_DrawPSprite (pspdef_t* psp) vis->patch = lump; if (viewplayer->powers[pw_invisibility] > 4*32 - || viewplayer->powers[pw_invisibility] & 8) + || (viewplayer->powers[pw_invisibility] & 8)) { // shadow draw vis->colormap = spritelights[MAXLIGHTSCALE-1]; -- cgit v1.2.3