Fix two warnings I introduced a while back.

git-svn-id: https://svn.eduke32.com/eduke32@1880 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2011-05-11 22:14:06 +00:00
parent bfd38b4a89
commit 8c5492ec2e

View file

@ -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;
}