(svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482.

This commit is contained in:
rubidium
2007-12-06 22:29:47 +00:00
parent 39b1a8302b
commit 2b9f51219f
4 changed files with 20 additions and 1 deletions

View File

@@ -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)) {