Fix rain bug introduced by render distance

This commit is contained in:
Hannu Hanhi committed 2020-09-21 23:17:22 +03:00
1 parent b5548b296b
commit fdca019a74
1 file changed
+1 -1
+1 -1
View File
@@ -4199,7 +4199,7 @@ void HWR_AddSprites(sector_t *sec)
approx_dist = P_AproxDistance(viewx-precipthing->x, viewy-precipthing->y);
if (approx_dist > limit_dist)
if (approx_dist > precip_limit_dist)
continue;
HWR_ProjectPrecipitationSprite(precipthing);