diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp --- 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;