diff --git a/src/roadveh.h b/src/roadveh.h --- a/src/roadveh.h +++ b/src/roadveh.h @@ -132,6 +132,8 @@ struct RoadVehicle : public SpecializedV bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse); void FindRoadStopSlot(); + bool IsBus() const; + /** * Check if vehicle is a front engine * @return Returns true if vehicle is a front engine