This commit is contained in:
vl 2010-07-08 16:14:06 +02:00
commit dfbb27fafc
2 changed files with 4 additions and 3 deletions

View file

@ -79,7 +79,7 @@ class CAHDisplayInfos : public IActionHandler
if( ClientCfg.Local || hasPrivilegeDEV() || hasPrivilegeSGM() || hasPrivilegeGM() || hasPrivilegeSG() || hasPrivilegeEM() || hasPrivilegeVG() ) if( ClientCfg.Local || hasPrivilegeDEV() || hasPrivilegeSGM() || hasPrivilegeGM() || hasPrivilegeSG() || hasPrivilegeEM() || hasPrivilegeVG() )
#endif #endif
{ {
ShowInfos = (ShowInfos++)%6; ShowInfos = (ShowInfos+1)%6;
CGraph::Display = (ShowInfos != 0); CGraph::Display = (ShowInfos != 0);
} }

View file

@ -1289,7 +1289,7 @@ void CSoundManager::update ()
_BackgroundFlags.Flags[DUSK] = true; _BackgroundFlags.Flags[DUSK] = true;
break; break;
case CLightCycleManager::StateUnknown: case CLightCycleManager::StateUnknown:
nlwarning("Unknown light cycle state reached."); //nlwarning("Unknown light cycle state reached.");
break; break;
} }
@ -1322,7 +1322,8 @@ void CSoundManager::update ()
_BackgroundFlags.Flags[WINTER] = true; _BackgroundFlags.Flags[WINTER] = true;
break; break;
default: default:
nlwarning("Updating unknown season."); //nlwarning("Updating unknown season.");
break;
} }
// TODO : update the filter state for weather effet // TODO : update the filter state for weather effet
CWeatherState weatherState = WeatherManager.getCurrWeatherState(); CWeatherState weatherState = WeatherManager.getCurrWeatherState();