summaryrefslogtreecommitdiff
path: root/src/roadstop_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/roadstop_base.h')
-rw-r--r--src/roadstop_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/roadstop_base.h b/src/roadstop_base.h
index 6a18f5cbe..695ada14a 100644
--- a/src/roadstop_base.h
+++ b/src/roadstop_base.h
@@ -114,6 +114,8 @@ struct RoadStop : RoadStopPool::PoolItem<&_roadstop_pool> {
}
RoadStop *GetNextRoadStop(const struct RoadVehicle *v) const;
+
+ static RoadStop *GetByTile(TileIndex tile, RoadStopType type);
};
#define FOR_ALL_ROADSTOPS_FROM(var, start) FOR_ALL_ITEMS_FROM(RoadStop, roadstop_index, var, start)