summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
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;