diff options
author | frosch <frosch@openttd.org> | 2012-07-07 15:39:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-07-07 15:39:46 +0000 |
commit | 08a8c3a773e9c730bd92a39e1e07403a172e866a (patch) | |
tree | 5fea4034f5d65bf6be9c28458ce05369d702a78d /src/ground_vehicle.hpp | |
parent | 8d004f3c63fbff4f3524f770483db90408a98c50 (diff) | |
download | openttd-08a8c3a773e9c730bd92a39e1e07403a172e866a.tar.xz |
(svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked.
Diffstat (limited to 'src/ground_vehicle.hpp')
-rw-r--r-- | src/ground_vehicle.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp index a06d6c71b..65c856295 100644 --- a/src/ground_vehicle.hpp +++ b/src/ground_vehicle.hpp @@ -92,6 +92,7 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> { void PowerChanged(); void CargoChanged(); int GetAcceleration() const; + bool IsChainInDepot() const; /** * Common code executed for crashed ground vehicles |