(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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user