summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-27 16:40:01 +0000
committertron <tron@openttd.org>2005-03-27 16:40:01 +0000
commitc4133f253547351734b4186b7a2d411553fde3a5 (patch)
tree0826e3587b7feab43062f5ba706f5d249581367e /vehicle.h
parent31c36d3dd4a75eec1a548ef6e66c8c4bac82d3f6 (diff)
downloadopenttd-c4133f253547351734b4186b7a2d411553fde3a5.tar.xz
(svn r2091) Small cleanup: uint -> TileIndex, const, don't call FindLandscapeHeightByTile()
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.h b/vehicle.h
index b7344f35f..2eb585c66 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -282,7 +282,7 @@ uint32 VehicleEnterTile(Vehicle *v, uint tile, int x, int y);
void VehicleInTheWayErrMsg(Vehicle *v);
Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z);
-uint GetVehicleOutOfTunnelTile(Vehicle *v);
+TileIndex GetVehicleOutOfTunnelTile(const Vehicle *v);
bool UpdateSignalsOnSegment(uint tile, byte direction);
void SetSignalsOnBothDir(uint tile, byte track);