(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.
This commit is contained in:
rubidium
2009-07-22 08:59:57 +00:00
parent 9eaee690bc
commit 100cb17fa8
40 changed files with 689 additions and 693 deletions

View File

@@ -155,7 +155,7 @@ RailType GetTileRailType(TileIndex tile)
break;
case MP_STATION:
if (IsRailwayStationTile(tile)) return GetRailType(tile);
if (IsRailwayStation(tile) || IsRailWaypoint(tile)) return GetRailType(tile);
break;
case MP_TUNNELBRIDGE: