diff options
Diffstat (limited to 'town_cmd.c')
-rw-r--r-- | town_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/town_cmd.c b/town_cmd.c index 1ca61d6c6..2f30999d3 100644 --- a/town_cmd.c +++ b/town_cmd.c @@ -1023,7 +1023,7 @@ static Town *AllocateTown(void) */ int32 CmdBuildTown(int x, int y, uint32 flags, uint32 p1, uint32 p2) { - TileIndex tile = TILE_FROM_XY(x,y); + TileIndex tile = TileVirtXY(x, y); TileInfo ti; Town *t; uint32 townnameparts; |