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:
committed by
Michael Steenbeek
parent
9836293305
commit
78c550351d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user