From 0db679c90d54de0beffcad7a672fc9908724f866 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 2 Feb 2016 10:53:56 +0100 Subject: [PATCH] - fixed clang compile error. --- 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 b738b1c10b..bca838cbec 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -227,6 +227,7 @@ void R_RenderMaskedSegRange (drawseg_t *ds, int x1, int x2) sector_t tempsec; // killough 4/13/98 fixed_t texheight, texheightscale; bool notrelevant = false; + fixed_t rowoffset; const sector_t *sec; @@ -328,7 +329,7 @@ void R_RenderMaskedSegRange (drawseg_t *ds, int x1, int x2) dc_texturemid = MIN (frontsector->GetPlaneTexZ(sector_t::ceiling), backsector->GetPlaneTexZ(sector_t::ceiling)); } - fixed_t rowoffset = curline->sidedef->GetTextureYOffset(side_t::mid); + rowoffset = curline->sidedef->GetTextureYOffset(side_t::mid); if (!(curline->linedef->flags & ML_WRAP_MIDTEX) && !(curline->sidedef->Flags & WALLF_WRAP_MIDTEX))