diff -r 85a5201aeb14 -r 8ab76c47c72c command.c --- a/command.c Sun Apr 02 18:03:48 2006 +0000 +++ b/command.c Mon Apr 03 05:32:11 2006 +0000 @@ -317,7 +317,7 @@ int32 DoCommandByTile(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc) { - return DoCommand(TileX(tile) * 16, TileY(tile) * 16, p1, p2, flags, procc); + return DoCommand(TileX(tile) * TILE_SIZE, TileY(tile) * TILE_SIZE, p1, p2, flags, procc); } @@ -401,8 +401,8 @@ bool notest; StringID error_part1; - int x = TileX(tile) * 16; - int y = TileY(tile) * 16; + int x = TileX(tile) * TILE_SIZE; + int y = TileY(tile) * TILE_SIZE; /* Do not even think about executing out-of-bounds tile-commands */ if (tile >= MapSize()) {