1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00

Properly fix usage of station index string (#10141)

This basically reverts the change in en-GB.txt from #10077 and fixes the usage of this string where it was broken.
This commit is contained in:
Hielke Morsink
2019-10-29 17:35:36 +01:00
committed by Michael Steenbeek
parent 9836293305
commit 78c550351d
2 changed files with 4 additions and 2 deletions

View File

@@ -2008,7 +2008,9 @@ static void window_tile_inspector_paint(rct_window* w, rct_drawpixelinfo* dpi)
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_ENTRANCE_RIDE_ID, &rideId, COLOUR_WHITE, x, y + 22);
// Station index
int16_t stationIndex = tileElement->AsEntrance()->GetStationIndex();
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_STATION_INDEX, &stationIndex, COLOUR_WHITE, x, y + 33);
set_format_arg(0, rct_string_id, STR_COMMA16);
set_format_arg(2, int16_t, stationIndex);
gfx_draw_string_left(dpi, STR_TILE_INSPECTOR_STATION_INDEX, gCommonFormatArgs, COLOUR_WHITE, x, y + 33);
}
// Properties