From 94be9df246ae5ac56381d3cc48224e36bdd6250d Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 14 Feb 2013 03:24:47 +0000 Subject: [PATCH] - Changed the "notrelevant" checks in R_RenderMaskedSegRange() to not include equality in their comparison operators. Fixes one map (http://forum.zdoom.org/viewtopic.php?f=2&t=34082); might break others. Maybe. SVN r4133 (trunk) --- src/r_segs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_segs.cpp b/src/r_segs.cpp index 62c3e678a8..e37cbe086f 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -378,12 +378,12 @@ void R_RenderMaskedSegRange (drawseg_t *ds, int x1, int x2) goto clearfog; } - if ((fake3D & FAKE3D_CLIPBOTTOM) && textop <= sclipBottom - viewz) + if ((fake3D & FAKE3D_CLIPBOTTOM) && textop < sclipBottom - viewz) { notrelevant = true; goto clearfog; } - if ((fake3D & FAKE3D_CLIPTOP) && textop - texheight >= sclipTop - viewz) + if ((fake3D & FAKE3D_CLIPTOP) && textop - texheight > sclipTop - viewz) { notrelevant = true; goto clearfog;