1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-03 03:49:12 +00:00

(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was broken

This commit is contained in:
glx
2008-01-05 21:42:34 +00:00
parent 5d837282ee
commit 91be5d7531
3 changed files with 7 additions and 0 deletions

View File

@@ -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 */