(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"

This commit is contained in:
tron
2005-06-24 12:38:35 +00:00
parent 3448729ff3
commit 3154e7148d
63 changed files with 536 additions and 495 deletions

View File

@@ -844,7 +844,8 @@ static bool AircraftController(Vehicle *v)
// prevent going to 0,0 if airport is deleted.
{
uint tile = st->airport_tile;
TileIndex tile = st->airport_tile;
if (tile == 0) tile = st->xy;
// xy of destination
x = TileX(tile) * 16;