(svn r6750) -Codechange: Juggle around some header includes as they're only used when

networking is enabled.
This commit is contained in:
Darkvater
2006-10-12 14:13:39 +00:00
parent ad0f2be1ef
commit 0ca42cbd44
8 changed files with 26 additions and 32 deletions

View File

@@ -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;