summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-20 15:44:24 +0000
committeralberth <alberth@openttd.org>2010-11-20 15:44:24 +0000
commitab50f74d7fa3c1c96de54012ccc197c4800901c8 (patch)
treefbee322b7dcec81c6a98a1ee923984d902e834f9 /src/command.cpp
parent38dc34828ea679e4952f9f30361382e29d2f2e06 (diff)
downloadopenttd-ab50f74d7fa3c1c96de54012ccc197c4800901c8.tar.xz
(svn r21273) -Codechange: Return values should start at the same line.
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;
}
/*!