Implement NewGRF road waypoint selection window

This commit is contained in:
Jonathan G Rennison
2022-02-14 01:31:27 +00:00
parent 66db1863f2
commit 64fb6251bf
3 changed files with 114 additions and 5 deletions

View File

@@ -3552,7 +3552,7 @@ void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, Ro
}
/* Default waypoint has no railtype specific sprites */
DrawRailTileSeqInGUI(x, y, t, st == STATION_WAYPOINT ? 0 : total_offset, 0, pal);
DrawRailTileSeqInGUI(x, y, t, (st == STATION_WAYPOINT || st == STATION_ROADWAYPOINT) ? 0 : total_offset, 0, pal);
}
static int GetSlopePixelZ_Station(TileIndex tile, uint x, uint y)