mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 23:09:02 +00:00
Fixed: Bad way to loop a number between 0 and 5
This commit is contained in:
parent
d7b8ec69e0
commit
92a21b4c05
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue