diff options
author | rubidium <rubidium@openttd.org> | 2009-07-22 08:59:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-22 08:59:57 +0000 |
commit | 68ead6b84f56ad3c93d05ad3e09b7fbb8173cf26 (patch) | |
tree | ee33bd19b96a138530a84e86e7ffd60c0700f9d9 /src/station.cpp | |
parent | 2646a99d29535a44c5998f080131cbca2e85bdcf (diff) | |
download | openttd-68ead6b84f56ad3c93d05ad3e09b7fbb8173cf26.tar.xz |
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/station.cpp b/src/station.cpp index 91605fda2..456862d38 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -50,12 +50,6 @@ Station::Station(TileIndex tile) : /* this->random_bits is set in Station::AddFacility() */ } -/* static */ BaseStation *BaseStation::GetByTile(TileIndex tile) -{ - if (IsRailWaypointTile(tile)) return Waypoint::GetByTile(tile); - return Station::GetByTile(tile); -} - /** * Clean up a station by clearing vehicle orders and invalidating windows. * Aircraft-Hangar orders need special treatment here, as the hangars are |