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:
parent
74b24bd2ad
commit
f3cbfaf7ad
1 changed files with 2 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue