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 | a733fede9b21d5e74a007ed64263bc07535ee25c (patch) | |
tree | 17004bd894946da466a10e50a86ff66225cf8896 /vehicle.c | |
parent | 6699ee79d3c1d58be04351cc2bc18c683f4655dd (diff) | |
download | openttd-a733fede9b21d5e74a007ed64263bc07535ee25c.tar.xz |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'vehicle.c')
-rw-r--r-- | vehicle.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |