(svn r6750) -Codechange: Juggle around some header includes as they're only used when
networking is enabled.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user