From 8c5492ec2e7d204353ebacd6ad99504ecf403a71 Mon Sep 17 00:00:00 2001 From: plagman Date: Wed, 11 May 2011 22:14:06 +0000 Subject: [PATCH] Fix two warnings I introduced a while back. git-svn-id: https://svn.eduke32.com/eduke32@1880 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/polymost.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/polymer/eduke32/build/src/polymost.c b/polymer/eduke32/build/src/polymost.c index 1e8f3bc6e..672014f53 100644 --- a/polymer/eduke32/build/src/polymost.c +++ b/polymer/eduke32/build/src/polymost.c @@ -5204,7 +5204,7 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16 float m[4][4]; int32_t oxdim = xdim, oydim = ydim; #if defined(USE_OPENGL) && defined(POLYMER) - int32_t olddetailmapping, oldglowmapping; + int32_t olddetailmapping = r_detailmapping, oldglowmapping = r_glowmapping; #endif @@ -5440,8 +5440,6 @@ void polymost_dorotatesprite(int32_t sx, int32_t sy, int32_t z, int16_t a, int16 # ifdef POLYMER if (rendmode >= 4) { polymer_inb4rotatesprite(picnum, dapalnum, dashade); - olddetailmapping = r_detailmapping; - oldglowmapping = r_glowmapping; r_detailmapping = 0; r_glowmapping = 0; }