summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-03-09 12:32:25 +0000
committertron <tron@openttd.org>2006-03-09 12:32:25 +0000
commit78a7b15ce0ceb0758de4eadf6d366906e5372cf2 (patch)
tree140ef767fc8d6e20f27e7bd5429732ec833839b5 /vehicle.h
parenta00385913bd3942a7abba9aabfee873b37d267a1 (diff)
downloadopenttd-78a7b15ce0ceb0758de4eadf6d366906e5372cf2.tar.xz
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
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 4713cdca4..b6ea2b3a0 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, Direction direction);
+bool UpdateSignalsOnSegment(TileIndex tile, DiagDirection direction);
void SetSignalsOnBothDir(TileIndex tile, byte track);
Vehicle *CheckClickOnVehicle(const ViewPort *vp, int x, int y);