summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
committerrubidium <rubidium@openttd.org>2008-01-13 01:21:35 +0000
commitd4e6a6bf57216b39745b61971141e088e15e2d0d (patch)
treefc3e123d733a91dd61b578c69516fae69754c97f /src/console_cmds.cpp
parenta78d73805f467d3ced0a70a1758435498fd1dbac (diff)
downloadopenttd-d4e6a6bf57216b39745b61971141e088e15e2d0d.tar.xz
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index ede00c4c2..516bcad1a 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -33,6 +33,10 @@
#include "player_func.h"
#include "player_base.h"
+#ifdef ENABLE_NETWORK
+ #include "table/strings.h"
+#endif /* ENABLE_NETWORK */
+
// ** scriptfile handling ** //
static FILE *_script_file;
static bool _script_running;
@@ -1224,10 +1228,6 @@ DEF_CONSOLE_CMD(ConSay)
return true;
}
-#ifdef ENABLE_NETWORK
- #include "table/strings.h"
-#endif /* ENABLE_NETWORK */
-
DEF_CONSOLE_CMD(ConPlayers)
{
Player *p;