diff options
author | rubidium <rubidium@openttd.org> | 2010-10-17 17:50:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-17 17:50:40 +0000 |
commit | cca0ca3d707221fcb08f5ba0216a93ee73dc8e45 (patch) | |
tree | 71612b060b6b9a34ff61c595d648f5e0dae8e11c /src/debug.cpp | |
parent | a269d150a7c11c6ad223c6532914ead689b9371a (diff) | |
download | openttd-cca0ca3d707221fcb08f5ba0216a93ee73dc8e45.tar.xz |
(svn r20977) -Fix (r20975): compilation didn't get to the link stage if you, or config.lib, decided you don't need network support
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index 965ed5d1b..3cdb6aaae 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -94,7 +94,9 @@ static void debug_print(const char *dbg, const char *buf) #else fprintf(stderr, "%sdbg: [%s] %s\n", GetLogPrefix(), dbg, buf); #endif +#ifdef ENABLE_NETWORK NetworkAdminConsole(dbg, buf); +#endif /* ENABLE_NETWORK */ IConsoleDebug(dbg, buf); } else { static FILE *f = FioFOpenFile("commands-out.log", "wb", AUTOSAVE_DIR); |