From f3cbfaf7adf27bd84f83c7bdf6ca527504bb12a8 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 12:07:31 +0000 Subject: [PATCH] Decompile fn_16302 (OngoingQuestInfo::CUIRewards::OnBindItem) Batch #11911 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_16302 OngoingQuestInfo::CUIRewards::OnBindItem: logic confirmed by peer review Peer-reviewed-by: SapitoSucio, Toshiro, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Quest/UIOngoingQuestInfo.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/UI/Quest/UIOngoingQuestInfo.cpp b/Source/UI/Quest/UIOngoingQuestInfo.cpp index 7813c6ef..c95f5865 100644 --- a/Source/UI/Quest/UIOngoingQuestInfo.cpp +++ b/Source/UI/Quest/UIOngoingQuestInfo.cpp @@ -291,10 +291,8 @@ void CUIRewards::OnBindItem(CUIRewardItem* item, const CRewardItemData& data) { info.identified = 1; item->gameItem->SetItem(info); - std::string name = info.DisplayName(0); - item->nameText->SetText(name.c_str(), name.size()); - std::string count = FormatOwnedString(LookupMessage(0xB6), data.count); - item->countText->SetText(count.c_str(), count.size()); + item->nameText->SetText(info.DisplayName(0)); + item->countText->SetText(FormatOwnedString(LookupMessage(0xB6), data.count)); } }