Fixed voxel clipping bug

This commit is contained in:
Magnus Norddahl 2017-02-11 23:29:09 +01:00 committed by alexey.lysiuk
parent c01107181a
commit 9482c3e639

View file

@ -2071,7 +2071,7 @@ void R_DrawSprite (vissprite_t *spr)
// [RH] rewrote this to be based on which part of the sector is really visible
double scale = InvZtoScale * spr->idepth;
double hzb = DBL_MIN, hzt = DBL_MAX;
double hzb = -DBL_MAX, hzt = DBL_MAX;
if (spr->bIsVoxel && spr->floorclip != 0)
{