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

This commit is contained in:
Haven Kim authored and GitHub committed 2022-10-08 06:52:32 -03:00
1 parent 00d2dd8ef7
commit 34170d6814
2 files changed
+3 -2

No files matched your search

+1
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.
@@ -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
{