- GCC fix of r_segs.cpp - again...

SVN r1959 (trunk)
This commit is contained in:
Christoph Oelckers 2009-11-02 17:02:12 +00:00
parent 358b2421ad
commit a02e8c0b06

View file

@ -2188,6 +2188,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
int needrepeat = 0;
sector_t *front, *back;
bool calclighting;
bool rereadcolormap;
FDynamicColormap *usecolormap;
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
@ -2434,7 +2435,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
// Prepare lighting
calclighting = false;
usecolormap = basecolormap;
bool rereadcolormap = true;
rereadcolormap = true;
// Decals that are added to the scene must fade to black.
if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0)