summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-11 00:30:32 +0000
committerrubidium <rubidium@openttd.org>2008-01-11 00:30:32 +0000
commit04f936c2c67a58f09bb307f9b021ab7a11b885da (patch)
tree05e3aa4702dd2e570adeaebdf8acd63559e5165f /src/date.cpp
parente5d33482b49afdfa91fb0e61b210479346e47484 (diff)
downloadopenttd-04f936c2c67a58f09bb307f9b021ab7a11b885da.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.cpp3
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;