diff --git a/src/r_things.c b/src/r_things.c index a40c6105822bc3241f53f4f66ea8bd17d50d1d4b..14782d0c2be5260eb35d850119d4cad60980f1c1 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -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 :