Decompile fn_16208 (CUIProbabilityTable::SetItem)

Batch #15798 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_16208 CUIProbabilityTable::SetItem: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, eAthena
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-10 10:10:31 +00:00
commit 2b05860375

View file

@ -57,9 +57,7 @@ void CUIProbabilityTable::SetItem(int itemId) {
{
ITEM_INFO item;
item.SetItemId(itemId);
CUIStaticText* label = this->m_itemName;
const std::string name = item.DisplayName(0);
label->SetText(name.c_str(), name.size());
this->m_itemName->SetText(item.DisplayName(0));
}
this->m_list->ClearData();