aboutsummaryrefslogtreecommitdiff
path: root/src/game/Debugcmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r--src/game/Debugcmds.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp
index 7490f587b9d..02ebbc329b4 100644
--- a/src/game/Debugcmds.cpp
+++ b/src/game/Debugcmds.cpp
@@ -1101,11 +1101,11 @@ bool ChatHandler::HandleDebugUpdateCommand(const char* args)
//check updateIndex
if (chr->GetTypeId() == TYPEID_PLAYER)
{
- if (updateIndex>=PLAYER_END) return true;
+ if (updateIndex >= PLAYER_END) return true;
}
else
{
- if (updateIndex>=UNIT_END) return true;
+ if (updateIndex >= UNIT_END) return true;
}
char* pvalue = strtok(NULL, " ");