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:
@@ -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)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user