diff options
author | rubidium <rubidium@openttd.org> | 2009-05-22 18:17:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-22 18:17:20 +0000 |
commit | 441011b782294e93b47876f24de96a63da7dd678 (patch) | |
tree | 7592579bbde1a91f353a6d685a8a64128f6a6955 /src/train.h | |
parent | cf0cfb908f02ca54efd5956f11909514de062015 (diff) | |
download | openttd-441011b782294e93b47876f24de96a63da7dd678.tar.xz |
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); }; |