mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 17:32:45 +01:00
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
This commit is contained in:
@@ -1469,7 +1469,7 @@ static void DrawTile_Track(TileInfo *ti)
|
||||
}
|
||||
|
||||
if (statspec->renderdata == NULL) {
|
||||
dts = GetStationTileLayout(gfx);
|
||||
dts = GetStationTileLayout(STATION_RAIL, gfx);
|
||||
} else {
|
||||
dts = &statspec->renderdata[(gfx < statspec->tiles ? gfx : 0) + GetWaypointAxis(ti->tile)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user