diff --git a/cl_dll/rain.cpp b/cl_dll/rain.cpp index 86db25dc..d45857a0 100644 --- a/cl_dll/rain.cpp +++ b/cl_dll/rain.cpp @@ -171,7 +171,7 @@ void ProcessRain( void ) Rain.weatherValue = gHUD.cl_weather->value; - if( Rain.dripsPerSecond == 0 || !Rain.weatherValue ) + if( Rain.dripsPerSecond == 0 ) return; // disabled // first frame @@ -227,6 +227,12 @@ void ProcessRain( void ) } } + if( !Rain.weatherValue ) + { + Rain.nextspawntime = Rain.curtime; + return; + } + int maxDelta = speed * Rain.timedelta; // maximum height randomize distance float falltime = (Rain.globalHeight + 4096) / speed;