From 92a21b4c0561746324eb48bc8c3345a4ab85f800 Mon Sep 17 00:00:00 2001 From: vl Date: Tue, 6 Jul 2010 10:56:45 +0200 Subject: [PATCH] Fixed: Bad way to loop a number between 0 and 5 --- code/ryzom/client/src/interface_v3/action_handler_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }