1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +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

@@ -3724,7 +3724,7 @@ STR_6273 :Music
STR_6274 :Can't set colour scheme...
STR_6275 :{WINDOW_COLOUR_2}Station style:
STR_6276 :{RED}{STRINGID} has guests getting stuck, possibly due to invalid ride type or operating mode.
STR_6277 :{WINDOW_COLOUR_2}Station index: {BLACK}{COMMA16}
STR_6277 :{WINDOW_COLOUR_2}Station index: {BLACK}{STRINGID}
STR_6278 :Autosave amount
STR_6279 :{SMALLFONT}{BLACK}Number of autosaves that should be kept
STR_6280 :{SMALLFONT}{BLACK}Chat

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