Fixed: Clang warning, ContinentMngr.cur() is checked later

This commit is contained in:
kervala 2015-11-07 14:54:24 +01:00
parent bbaa223662
commit 8fe3e333b7

View file

@ -2015,7 +2015,7 @@ bool mainLoop()
}
// Temp for weather test
if (ClientCfg.ManualWeatherSetup && ContinentMngr.cur() && ContinentMngr.cur()->WeatherFunction)
if (ClientCfg.ManualWeatherSetup)
{
H_AUTO_USE ( RZ_Client_Main_Loop_Debug )
static float displayHourDelta = 0.04f; // static for edition during debug..