diff options
author | rubidium <rubidium@openttd.org> | 2008-01-11 00:30:32 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-11 00:30:32 +0000 |
commit | 97d6e0e6c0bdada386ac68ffb95719721f1c54ce (patch) | |
tree | 05e3aa4702dd2e570adeaebdf8acd63559e5165f /src/date.cpp | |
parent | 2ba5bf8947f8c879ed1f41cdd218c6271f626151 (diff) | |
download | openttd-97d6e0e6c0bdada386ac68ffb95719721f1c54ce.tar.xz |
(svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area').
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/date.cpp b/src/date.cpp index 7c9ac1226..c6de516aa 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -13,6 +13,7 @@ #include "functions.h" #include "date_func.h" #include "vehicle_base.h" +#include "debug.h" #ifdef DEBUG_DUMP_COMMANDS #include "saveload.h" #include "town_map.h" @@ -282,7 +283,7 @@ void IncreaseDate() char name[MAX_PATH]; snprintf(name, lengthof(name), "dmp_cmds_%d.sav", _date); SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR); - debug_dump_commands("ddc:save:%s\n", name); + DebugDumpCommands("ddc:save:%s\n", name); #endif /* DUMP_COMMANDS */ if (_opt.autosave != 0 && (_cur_month % _autosave_months[_opt.autosave]) == 0) { _do_autosave = true; |