summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-18 18:39:17 +0000
committerrubidium <rubidium@openttd.org>2009-07-18 18:39:17 +0000
commit3fcfb9b248bd228d5885974858a14724205626ad (patch)
tree6b35f962b628ddcf39d6c80e26497cf856a5aa82 /src/station.cpp
parent73453e61d678d106be04149fc549716ecc5eed58 (diff)
downloadopenttd-3fcfb9b248bd228d5885974858a14724205626ad.tar.xz
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp
index ec57d6e04..91605fda2 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -38,7 +38,7 @@ BaseStation::~BaseStation()
}
Station::Station(TileIndex tile) :
- BaseStation(tile),
+ SpecializedStation<Station, false>(tile),
train_tile(INVALID_TILE),
airport_tile(INVALID_TILE),
dock_tile(INVALID_TILE),