mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-20 10:53:27 +00:00
also do the fovtan multiplication thing with precip sprites
This commit is contained in:
parent
c3d576058a
commit
702a7041d4
1 changed files with 1 additions and 1 deletions
|
@ -1884,7 +1884,7 @@ static void R_ProjectPrecipitationSprite(precipmobj_t *thing)
|
|||
tx = FixedMul(tr_x, viewsin) - FixedMul(tr_y, viewcos); // sideways distance
|
||||
|
||||
// too far off the side?
|
||||
if (abs(tx) > tz<<2)
|
||||
if (abs(tx) > FixedMul(tz, fovtan)<<2)
|
||||
return;
|
||||
|
||||
// aspect ratio stuff :
|
||||
|
|
Loading…
Reference in a new issue