(svn r20977) -Fix (r20975): compilation didn't get to the link stage if you, or config.lib, decided you don't need network support

This commit is contained in:
rubidium
2010-10-17 17:50:40 +00:00
parent bc427ada92
commit c68174b1b3
2 changed files with 4 additions and 0 deletions

View File

@@ -112,7 +112,9 @@ void IConsolePrint(ConsoleColour colour_code, const char *string)
str_validate(str, str + strlen(str));
if (_network_dedicated) {
#ifdef ENABLE_NETWORK
NetworkAdminConsole("console", str);
#endif /* ENABLE_NETWORK */
fprintf(stdout, "%s%s\n", GetLogPrefix(), str);
fflush(stdout);
IConsoleWriteToLogFile(str);