also do the fovtan multiplication thing with precip sprites

This commit is contained in:
Monster Iestyn 2020-05-20 19:34:18 +01:00
parent c3d576058a
commit 702a7041d4

View file

@ -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 :