From 8fe3e333b7ed35e4d4bb4c6d754f730c9629e5a3 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 --- 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..