diff options
author | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
commit | 3154e7148d00f0203760aefbc6f8a5bd210cc30c (patch) | |
tree | 17004bd894946da466a10e50a86ff66225cf8896 /airport_gui.c | |
parent | 3448729ff36ca9e91d91c256d9a5381ba901230b (diff) | |
download | openttd-3154e7148d00f0203760aefbc6f8a5bd210cc30c.tar.xz |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'airport_gui.c')
-rw-r--r-- | airport_gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/airport_gui.c b/airport_gui.c index b77669f2d..a1cd6e0c0 100644 --- a/airport_gui.c +++ b/airport_gui.c @@ -19,7 +19,7 @@ static byte _selected_airport_type; static void ShowBuildAirportPicker(void); -void CcBuildAirport(bool success, uint tile, uint32 p1, uint32 p2) +void CcBuildAirport(bool success, TileIndex tile, uint32 p1, uint32 p2) { if (success) { SndPlayTileFx(SND_1F_SPLAT, tile); @@ -27,12 +27,12 @@ void CcBuildAirport(bool success, uint tile, uint32 p1, uint32 p2) } } -static void PlaceAirport(uint tile) +static void PlaceAirport(TileIndex tile) { DoCommandP(tile, _selected_airport_type, 0, CcBuildAirport, CMD_BUILD_AIRPORT | CMD_AUTO | CMD_NO_WATER | CMD_MSG(STR_A001_CAN_T_BUILD_AIRPORT_HERE)); } -static void PlaceAir_DemolishArea(uint tile) +static void PlaceAir_DemolishArea(TileIndex tile) { VpStartPlaceSizing(tile, 4); } |