forked from mirror/OpenTTD
(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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user