diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-12 14:13:39 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-12 14:13:39 +0000 |
commit | d983d9373231d4593791fafa431211637275b7b4 (patch) | |
tree | fbb126240d1c40050c711e6dc55e464a97dd40d5 /console_cmds.c | |
parent | e78f6b7b73fed7a783f637935aa72ceadc7aa7a2 (diff) | |
download | openttd-d983d9373231d4593791fafa431211637275b7b4.tar.xz |
(svn r6750) -Codechange: Juggle around some header includes as they're only used when
networking is enabled.
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/console_cmds.c b/console_cmds.c index 39f34cfb2..feddff87d 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -22,11 +22,7 @@ #include "screenshot.h" #include "genworld.h" #include "date.h" - -#ifdef ENABLE_NETWORK - #include "table/strings.h" - #include "network.h" -#endif /*ENABLE_NETWORK*/ +#include "network.h" // ** scriptfile handling ** // static FILE *_script_file; @@ -1193,6 +1189,10 @@ DEF_CONSOLE_CMD(ConSay) return true; } +#ifdef ENABLE_NETWORK + #include "table/strings.h" +#endif /* ENABLE_NETWORK */ + DEF_CONSOLE_CMD(ConPlayers) { Player *p; |