summaryrefslogtreecommitdiff
path: root/src/command.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-06 22:29:47 +0000
committerrubidium <rubidium@openttd.org>2007-12-06 22:29:47 +0000
commit2b9f51219f792b7c82ad8228e1dde0983a46094a (patch)
tree07242c652ed4cfe3b56eb0704fd2db3a15405741 /src/command.cpp
parent39b1a8302b6519b185445faf6beef9356543b905 (diff)
downloadopenttd-2b9f51219f792b7c82ad8228e1dde0983a46094a.tar.xz
(svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482.
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp
index e2133fe4f..b09d43318 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -609,6 +609,9 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, CommandCallback *callback,
return true;
}
#endif /* ENABLE_NETWORK */
+#ifdef DEBUG_DUMP_COMMANDS
+ 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 */
/* update last build coordinate of player. */
if (tile != 0 && IsValidPlayer(_current_player)) {