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
commit91be5d75311a4a032164d733f6ed97dc87419cca (patch)
tree298ebb64a0b8316beb7403b010a9795559818e99 /src/command.cpp
parent5d837282ee209c37ed5c5a29ff509e9283a56b42 (diff)
downloadopenttd-91be5d75311a4a032164d733f6ed97dc87419cca.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 */