(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.

This commit is contained in:
rubidium
2009-07-18 18:39:17 +00:00
parent 73453e61d6
commit 3fcfb9b248
4 changed files with 61 additions and 17 deletions

View File

@@ -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),