From 34170d68143284fd8cb4827e4e6ae6e206cbc825 Mon Sep 17 00:00:00 2001 From: Haven Kim Date: Sat, 8 Oct 2022 02:52:32 -0700 Subject: [PATCH] Fix #17853: Invention name tears while being dragged (#18223) --- distribution/changelog.txt | 1 + src/openrct2-ui/windows/EditorInventionsList.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 13f8c0d207..b05a7855be 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -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. diff --git a/src/openrct2-ui/windows/EditorInventionsList.cpp b/src/openrct2-ui/windows/EditorInventionsList.cpp index f404ad571e..34e28960a2 100644 --- a/src/openrct2-ui/windows/EditorInventionsList.cpp +++ b/src/openrct2-ui/windows/EditorInventionsList.cpp @@ -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); ft.Add(rideTypeName); - format_string(buffer, 256, STR_INVENTIONS_LIST_RIDE_AND_VEHICLE_NAME, &ft); + ft.Add(stringId); + format_string(buffer, 256, STR_INVENTIONS_LIST_RIDE_AND_VEHICLE_NAME_DRAG, &ft); } else {