mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Don't project if rot_y is less than a single fracunit
This commit is contained in:
parent
bf8bb383ab
commit
3bace37a25
1 changed files with 1 additions and 1 deletions
|
@ -2970,7 +2970,7 @@ static void R_DrawVisSplat(vissprite_t *spr)
|
|||
rot_y = FixedMul(tr_x, viewcos) + FixedMul(tr_y, viewsin);
|
||||
rot_z = v3d->z - viewz;
|
||||
|
||||
if (!rot_y || rot_y < FixedDiv(4*FRACUNIT, splat.scale))
|
||||
if (rot_y < FRACUNIT)
|
||||
return;
|
||||
|
||||
// note: y from view above of map, is distance far away
|
||||
|
|
Loading…
Reference in a new issue