summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-06 20:28:28 +0000
committertron <tron@openttd.org>2006-03-06 20:28:28 +0000
commit2d3c28f2b3d24c2b01e54a51e2dcf5ad7f4851c8 (patch)
tree410be31dd2267cd8af3257b3d145965515575d34 /vehicle.h
parentfc1e9c5a92ccfeaea09b1fcd1bb58f1de4cb2644 (diff)
downloadopenttd-2d3c28f2b3d24c2b01e54a51e2dcf5ad7f4851c8.tar.xz
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
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 0c1a23b0a..0c13e98d8 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -284,7 +284,7 @@ void VehicleInTheWayErrMsg(const Vehicle* v);
Vehicle *FindVehicleBetween(TileIndex from, TileIndex to, byte z);
TileIndex GetVehicleOutOfTunnelTile(const Vehicle *v);
-bool UpdateSignalsOnSegment(TileIndex tile, byte direction);
+bool UpdateSignalsOnSegment(TileIndex tile, Direction direction);
void SetSignalsOnBothDir(TileIndex tile, byte track);
Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y);