mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't project if rot_y is less than a single fracunit
This commit is contained in:
parent
578600156d
commit
5c2f487fbe
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_y = FixedMul(tr_x, viewcos) + FixedMul(tr_y, viewsin);
|
||||||
rot_z = v3d->z - viewz;
|
rot_z = v3d->z - viewz;
|
||||||
|
|
||||||
if (!rot_y || rot_y < FixedDiv(4*FRACUNIT, splat.scale))
|
if (rot_y < FRACUNIT)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// note: y from view above of map, is distance far away
|
// note: y from view above of map, is distance far away
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue