From 441011b782294e93b47876f24de96a63da7dd678 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 22 May 2009 18:17:20 +0000 Subject: (svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle. --- src/train.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/train.h') diff --git a/src/train.h b/src/train.h index 4816a251b..4fa431d90 100644 --- a/src/train.h +++ b/src/train.h @@ -331,6 +331,7 @@ struct Train : public Vehicle { bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; } bool Tick(); void OnNewDay(); + Trackdir GetVehicleTrackdir() const; TileIndex GetOrderStationLocation(StationID station); bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); }; -- cgit v1.2.3-54-g00ecf