diff --git a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp index b9f1bade0..aac90d171 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_debug.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_debug.cpp @@ -79,7 +79,7 @@ class CAHDisplayInfos : public IActionHandler if( ClientCfg.Local || hasPrivilegeDEV() || hasPrivilegeSGM() || hasPrivilegeGM() || hasPrivilegeSG() || hasPrivilegeEM() || hasPrivilegeVG() ) #endif { - ShowInfos = (ShowInfos++)%6; + ShowInfos = (ShowInfos+1)%6; CGraph::Display = (ShowInfos != 0); } diff --git a/code/ryzom/client/src/sound_manager.cpp b/code/ryzom/client/src/sound_manager.cpp index 12f89c129..907acc1c5 100644 --- a/code/ryzom/client/src/sound_manager.cpp +++ b/code/ryzom/client/src/sound_manager.cpp @@ -1289,7 +1289,7 @@ void CSoundManager::update () _BackgroundFlags.Flags[DUSK] = true; break; case CLightCycleManager::StateUnknown: - nlwarning("Unknown light cycle state reached."); + //nlwarning("Unknown light cycle state reached."); break; } @@ -1322,7 +1322,8 @@ void CSoundManager::update () _BackgroundFlags.Flags[WINTER] = true; break; default: - nlwarning("Updating unknown season."); + //nlwarning("Updating unknown season."); + break; } // TODO : update the filter state for weather effet CWeatherState weatherState = WeatherManager.getCurrWeatherState();