From adbc9771b7154933fc3f05dedd8aed60f67e00f9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 1 Nov 2009 06:45:47 +0000 Subject: [PATCH] - yet another GCC compile fix. SVN r1957 (trunk) --- src/r_segs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/r_segs.cpp b/src/r_segs.cpp index a22b28c67..2a291277c 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -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; + FDynamicColormap *usecolormap; if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid()) return; @@ -2432,7 +2433,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper, // Prepare lighting calclighting = false; - FDynamicColormap *usecolormap = basecolormap; + usecolormap = basecolormap; // Decals that are added to the scene must fade to black. if (decal->RenderStyle == LegacyRenderStyles[STYLE_Add] && usecolormap->Fade != 0)