diff options
author | rubidium <rubidium@openttd.org> | 2007-12-06 22:29:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-06 22:29:47 +0000 |
commit | 42dbdbb7f91223dfe3cd13c0f05d035e78171373 (patch) | |
tree | 07242c652ed4cfe3b56eb0704fd2db3a15405741 /src/command.cpp | |
parent | dd68a34e263bcb7122d872e21af291098597b75b (diff) | |
download | openttd-42dbdbb7f91223dfe3cd13c0f05d035e78171373.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.cpp | 3 |
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)) { |