summaryrefslogtreecommitdiff
path: root/src/roadveh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadveh.h')
-rw-r--r--src/roadveh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 7ac87fca3..e1c8ef123 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -132,6 +132,8 @@ struct RoadVehicle : public SpecializedVehicle<RoadVehicle, VEH_ROAD> {
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