town_cmd.c
changeset 926 a6d140a6a4de
parent 919 544f374ee392
child 1005 f48b2bdd84fc
--- a/town_cmd.c	Fri Jan 07 12:33:28 2005 +0000
+++ b/town_cmd.c	Fri Jan 07 17:02:43 2005 +0000
@@ -186,7 +186,7 @@
 	Point pt;
 
 	MarkTownSignDirty(t);
-	pt = RemapCoords2(GET_TILE_X(t->xy)*16, GET_TILE_Y(t->xy)*16);
+	pt = RemapCoords2(TileX(t->xy) * 16, TileY(t->xy) * 16);
 	SetDParam(0, t->townnametype);
 	SetDParam(1, t->townnameparts);
 	SetDParam(2, t->population);