Fix rain bug introduced by render distance
This commit is contained in:
1 parent
b5548b296b
commit
fdca019a74
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user