From b944892c8f2390d5e48536539f0795161d72030d Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 7 Nov 2015 14:54:24 +0100 Subject: [PATCH] Fixed: Clang warning, ContinentMngr.cur() is checked later --HG-- branch : develop --- code/ryzom/client/src/main_loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/main_loop.cpp b/code/ryzom/client/src/main_loop.cpp index 8a900f381..c0beba4c1 100644 --- a/code/ryzom/client/src/main_loop.cpp +++ b/code/ryzom/client/src/main_loop.cpp @@ -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..