summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorJuanjo <juanjo.ng.83@gmail.com>2012-12-31 16:34:21 +0100
committerMichael Lutz <michi@icosahedron.de>2019-02-18 22:57:43 +0100
commit45ce5171058bc40cf6423fda0f9419f11397759d (patch)
tree28401940d759a6726c89f3cfeeac2bf98819cad1 /src/station_base.h
parent6ca637b8c149efe2cb8ccffccbfd98530f633d58 (diff)
downloadopenttd-45ce5171058bc40cf6423fda0f9419f11397759d.tar.xz
Codechange: Move some common code after adding/removing tiles to a station to its own function.
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h
index 086d4332c..bf860538d 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -483,6 +483,8 @@ public:
void UpdateVirtCoord();
+ void AfterStationTileSetChange(bool adding, StationType type);
+
/* virtual */ uint GetPlatformLength(TileIndex tile, DiagDirection dir) const;
/* virtual */ uint GetPlatformLength(TileIndex tile) const;
void RecomputeIndustriesNear();