aircraft_cmd.c
changeset 926 bd4312619522
parent 924 433faaf547c1
child 950 1f6546ea35a3
--- a/aircraft_cmd.c	Fri Jan 07 12:33:28 2005 +0000
+++ b/aircraft_cmd.c	Fri Jan 07 17:02:43 2005 +0000
@@ -146,8 +146,8 @@
 		v->tile = tile;
 //		u->tile = 0;
 
-		x = GET_TILE_X(tile)*16 + 5;
-		y = GET_TILE_Y(tile)*16 + 3;
+		x = TileX(tile) * 16 + 5;
+		y = TileY(tile) * 16 + 3;
 
 		v->x_pos = u->x_pos = x;
 		v->y_pos = u->y_pos = y;
@@ -739,8 +739,8 @@
 		uint tile = st->airport_tile;
 		if (tile == 0) tile = st->xy;
 		// xy of destination
-		x = GET_TILE_X(tile)*16;
-		y = GET_TILE_Y(tile)*16;
+		x = TileX(tile) * 16;
+		y = TileY(tile) * 16;
 	}
 
 	// get airport moving data