mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
Fixed voxel clipping bug
This commit is contained in:
parent
c01107181a
commit
9482c3e639
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// [RH] rewrote this to be based on which part of the sector is really visible
|
||||||
|
|
||||||
double scale = InvZtoScale * spr->idepth;
|
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)
|
if (spr->bIsVoxel && spr->floorclip != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue