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
1 changed files with 1 additions and 1 deletions

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)
{