unmovable_cmd.c
changeset 1980 9ea0c89fbb58
parent 1977 4392ae3d8e31
child 1981 de031d2aed47
--- a/unmovable_cmd.c	Fri Jun 24 17:41:08 2005 +0000
+++ b/unmovable_cmd.c	Sat Jun 25 06:15:43 2005 +0000
@@ -61,7 +61,7 @@
 extern int32 CheckFlatLandBelow(TileIndex tile, uint w, uint h, uint flags, uint invalid_dirs, int *);
 int32 CmdBuildCompanyHQ(int x, int y, uint32 flags, uint32 p1, uint32 p2)
 {
-	TileIndex tile = TILE_FROM_XY(x,y);
+	TileIndex tile = TileVirtXY(x, y);
 	Player *p = GetPlayer(_current_player);
 	int cost;