dont play rain sounds when weather is disabled

This commit is contained in:
Alug committed 2024-10-23 13:00:36 +02:00
1 parent 8cbf798de8
commit 63ca366bd8
1 file changed
+1 -1
+1 -1
View File
@@ -10325,7 +10325,7 @@ void P_PrecipitationEffects(void)
return;
}
boolean sounds_rain = (rainsfx && (!leveltime || leveltime % 80 == 1));
boolean sounds_rain = ((cv_drawdist_precip.value != 0) && rainsfx && (!leveltime || leveltime % 80 == 1));
// Currently thunderstorming with lightning, and we're sounding the thunder...
// and where there's thunder, there's gotta be lightning!