summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-01-05 21:42:34 +0000
committerglx <glx@openttd.org>2008-01-05 21:42:34 +0000
commit7a890182c033b8d1981e6a6b40131e5d5c9b9cfa (patch)
tree298ebb64a0b8316beb7403b010a9795559818e99 /src/command.cpp
parent0c4e3b83e40c334201d1f1873af79f132852fd0a (diff)
downloadopenttd-7a890182c033b8d1981e6a6b40131e5d5c9b9cfa.tar.xz
(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was broken
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp
index fcbeefa18..fdd595a28 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -610,6 +610,8 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback,
}
#endif /* ENABLE_NETWORK */
#ifdef DEBUG_DUMP_COMMANDS
+ extern Date _date;
+ extern DateFract _date_fract;
debug_dump_commands("ddc:cmd:%d;%d;%d;%d;%d;%d;%d;%s\n", _date, _date_fract, (int)_current_player, tile, p1, p2, cmd, _cmd_text);
#endif /* DUMP_COMMANDS */