- GCC compile fix.

SVN r1947 (trunk)
This commit is contained in:
Christoph Oelckers 2009-10-29 06:32:50 +00:00
parent d082266365
commit aea4e38241

View file

@ -2187,6 +2187,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
fixed_t zpos; fixed_t zpos;
int needrepeat = 0; int needrepeat = 0;
sector_t *front, *back; sector_t *front, *back;
bool calclighting;
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid()) if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
return; return;
@ -2430,7 +2431,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
} }
// Prepare lighting // Prepare lighting
bool calclighting = false; calclighting = false;
rw_light = rw_lightleft + (x1 - WallSX1) * rw_lightstep; rw_light = rw_lightleft + (x1 - WallSX1) * rw_lightstep;
if (fixedlightlev >= 0) if (fixedlightlev >= 0)