From aea4e38241d7116a2d56a178a5fc661be9bc69a3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 29 Oct 2009 06:32:50 +0000 Subject: [PATCH] - GCC compile fix. SVN r1947 (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 d913f56c12..139167c5bc 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -2187,6 +2187,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper, fixed_t zpos; int needrepeat = 0; sector_t *front, *back; + bool calclighting; if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid()) return; @@ -2430,7 +2431,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper, } // Prepare lighting - bool calclighting = false; + calclighting = false; rw_light = rw_lightleft + (x1 - WallSX1) * rw_lightstep; if (fixedlightlev >= 0)