- 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)
This commit is contained in:
Randy Heit 2013-02-14 03:24:47 +00:00
parent 951adbb21f
commit 94be9df246
1 changed files with 2 additions and 2 deletions

View File

@ -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;