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).
This commit is contained in:
ragnarok-clanker 2026-11-05 12:07:31 +00:00
commit f3cbfaf7ad

View file

@ -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));
}
}