summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 8078e9a9e..1894244fc 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -318,9 +318,7 @@ bool IsValidCommand(uint32 cmd)
{
cmd &= CMD_ID_MASK;
- return
- cmd < lengthof(_command_proc_table) &&
- _command_proc_table[cmd].proc != NULL;
+ return cmd < lengthof(_command_proc_table) && _command_proc_table[cmd].proc != NULL;
}
/*!