From de11b9e901d1d1caa0634fad541f08f11c5781af Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 29 Apr 2009 00:26:07 -0500 Subject: [7730] Some optimizantion and code style. Author: zhenya --HG-- branch : trunk --- src/game/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Chat.cpp') diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index f029ba7d74a..789936302fc 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -910,7 +910,7 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand *table, const char* text, co while (*text == ' ') ++text; - for(uint32 i = 0; table[i].Name != NULL; i++) + for(uint32 i = 0; table[i].Name != NULL; ++i) { if( !hasStringAbbr(table[i].Name, cmd.c_str()) ) continue; -- cgit v1.2.3