From eca09597406404e503baaed6ae041c94719e75ef Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 19 Aug 2012 12:59:03 +0000 Subject: [PATCH] player.c: In G_DrawTileScaled, lose bit 1024 (prior to r1658, bit 256). I checked all direct and transitive uses of that function and am fairly confident that it is never used. git-svn-id: https://svn.eduke32.com/eduke32@2930 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/player.c b/polymer/eduke32/source/player.c index db9008ce7..41c603c98 100644 --- a/polymer/eduke32/source/player.c +++ b/polymer/eduke32/source/player.c @@ -2069,8 +2069,8 @@ static void G_DrawTileScaled(int32_t x, int32_t y, int32_t tilenum, int32_t shad if (getrendermode() >= 3 && usemodels && md_tilehasmodel(tilenum,p) >= 0) y += (224-weapsc(224)); #endif - rotatesprite(xadd+weapsc((orientation&1024)?x:(x<<16))+((xoff-weapsc(xoff))<<16), - weapsc((orientation&1024)?y:(y<<16))+((200-weapsc(200))<<16), + rotatesprite(xadd + weapsc(x<<16) + ((xoff-weapsc(xoff))<<16), + weapsc(y<<16) + ((200-weapsc(200))<<16), weapsc(65536L),a,tilenum,shade,p,(2|orientation), wx1,windowy1,wx2,windowy2); }