Fixed: bad cycling code

This commit is contained in:
vl 2010-07-02 15:51:16 +02:00
parent 220a3458c2
commit 8049d83f99

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);
} }