town_cmd.c
changeset 1980 9ea0c89fbb58
parent 1977 4392ae3d8e31
child 1981 de031d2aed47
--- a/town_cmd.c	Fri Jun 24 17:41:08 2005 +0000
+++ b/town_cmd.c	Sat Jun 25 06:15:43 2005 +0000
@@ -1023,7 +1023,7 @@
  */
 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;