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

--HG--
branch : develop
This commit is contained in:
kervala 2015-11-07 14:54:24 +01:00
parent ffb600e03e
commit b944892c8f

View file

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