Fix #17853: Invention name tears while being dragged (#18223)

This commit is contained in:
Haven Kim 2022-10-08 02:52:32 -07:00 committed by GitHub
parent 00d2dd8ef7
commit 34170d6814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
0.4.3 (in development)
------------------------------------------------------------------------
- Fix: [#14312] Research ride type message incorrect.
- Fix: [#17853] Invention name tears while being dragged.
- Fix: [#18064] Unable to dismiss notification messages.
- Fix: [#18122] Ghosts count towards “Great scenery!” guest thought.
- Fix: [#18134] Underground on-ride photo section partially clips through adjacent terrain edge.

View File

@ -655,9 +655,9 @@ public:
const auto rideEntry = get_ride_entry(researchItem.entryIndex);
const StringId rideTypeName = get_ride_naming(researchItem.baseRideType, rideEntry).Name;
Formatter ft;
ft.Add<StringId>(stringId);
ft.Add<StringId>(rideTypeName);
format_string(buffer, 256, STR_INVENTIONS_LIST_RIDE_AND_VEHICLE_NAME, &ft);
ft.Add<StringId>(stringId);
format_string(buffer, 256, STR_INVENTIONS_LIST_RIDE_AND_VEHICLE_NAME_DRAG, &ft);
}
else
{