diff options
author | rubidium <rubidium@openttd.org> | 2009-07-18 18:39:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-18 18:39:17 +0000 |
commit | 3fcfb9b248bd228d5885974858a14724205626ad (patch) | |
tree | 6b35f962b628ddcf39d6c80e26497cf856a5aa82 /src/station.cpp | |
parent | 73453e61d678d106be04149fc549716ecc5eed58 (diff) | |
download | openttd-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.cpp | 2 |
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), |