summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 8cb1a8cc4..6b583a07c 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -44,6 +44,11 @@ Station::Station(TileIndex tile) :
/* this->random_bits is set in Station::AddFacility() */
}
+/* static */ BaseStation *BaseStation::GetByTile(TileIndex tile)
+{
+ return Station::GetByTile(tile);
+}
+
/**
* Clean up a station by clearing vehicle orders and invalidating windows.
* Aircraft-Hangar orders need special treatment here, as the hangars are