From 1d4b87fa4858b171dd8965fc7201c3621568da10 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Wed, 12 Aug 2015 09:26:32 +1000 Subject: [PATCH] Fix sprites appearing through doors, etc. in some instances Regression of part of commit 3d482cf2ed253f17aa598966bebe81bc4abba145. Thanks again to @AnotherLife. --- src/r_segs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_segs.c b/src/r_segs.c index 43f47a3d6e..9abafb6042 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -330,7 +330,7 @@ void R_RenderMaskedSegRange(drawseg_t *ds, int x1, int x2) // void R_RenderSegLoop(void) { - fixed_t texturecolumn; + fixed_t texturecolumn = 0; // shut up compiler warning dboolean usebrightmaps = (r_brightmaps && !fixedcolormap && fullcolormap == colormaps[0]); for (; rw_x < rw_stopx; ++rw_x)