1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #12691: Tooltip at ride's graph tab is not using a proper string

This commit is contained in:
pizza2004
2020-08-15 15:17:38 -06:00
committed by GitHub
parent 9484f90911
commit 647730fcfa
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
0.3.0+ (in development)
------------------------------------------------------------------------
- Fix: [#12691] Ride graph tooltip incorrectly used count instead of number string.
0.3.0 (2020-08-15)
------------------------------------------------------------------------

View File

@@ -6026,7 +6026,7 @@ static void window_ride_graphs_tooltip(rct_window* w, rct_widgetindex widgetInde
{
auto ft = Formatter::Common();
ft.Increment(2);
ft.Add<rct_string_id>(RideComponentNames[RideTypeDescriptors[ride->type].NameConvention.vehicle].count);
ft.Add<rct_string_id>(RideComponentNames[RideTypeDescriptors[ride->type].NameConvention.vehicle].number);
ft.Add<uint16_t>(measurement->vehicle_index + 1);
}
else