summaryrefslogtreecommitdiff
path: root/src/base_station_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_station_base.h')
-rw-r--r--src/base_station_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base_station_base.h b/src/base_station_base.h
index cd512c517..8af01f8a7 100644
--- a/src/base_station_base.h
+++ b/src/base_station_base.h
@@ -110,6 +110,12 @@ struct BaseStation : StationPool::PoolItem<&_station_pool> {
*/
virtual void UpdateVirtCoord() = 0;
+ virtual void MoveSign(TileIndex new_xy)
+ {
+ this->xy = new_xy;
+ this->UpdateVirtCoord();
+ }
+
/**
* Get the tile area for a given station type.
* @param ta tile area to fill.