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

This commit is contained in:
kervala 2015-11-07 14:54:24 +01:00
parent 4426a91657
commit 75aeb2ecf6

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..