summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-06-24 12:38:35 +0000
committertron <tron@openttd.org>2005-06-24 12:38:35 +0000
commit3154e7148d00f0203760aefbc6f8a5bd210cc30c (patch)
tree17004bd894946da466a10e50a86ff66225cf8896 /vehicle.c
parent3448729ff36ca9e91d91c256d9a5381ba901230b (diff)
downloadopenttd-3154e7148d00f0203760aefbc6f8a5bd210cc30c.tar.xz
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vehicle.c b/vehicle.c
index e9fb72694..05a1b502b 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -1775,9 +1775,9 @@ Trackdir GetVehicleTrackdir(const Vehicle* v)
* result << 8 contains the id of the station entered. If the return value has
* bit 0x8 set, the vehicle could not and did not enter the tile. Are there
* other bits that can be set? */
-uint32 VehicleEnterTile(Vehicle *v, uint tile, int x, int y)
+uint32 VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y)
{
- uint old_tile = v->tile;
+ TileIndex old_tile = v->tile;
uint32 result = _tile_type_procs[GetTileType(tile)]->vehicle_enter_tile_proc(v, tile, x, y);
/* When vehicle_enter_tile_proc returns 8, that apparently means that