Decompile 2 functions in Source/Client/Mode/GameModePackets.cpp, Source/UI/Buttons/UITextButton.cpp, ...

Batch #17534 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_11448 UIBasicItemCtrl::OnMouseHover: logic confirmed by peer review
- fn_10180 UIRuneSetList::Paint: logic confirmed by peer review

Peer-reviewed-by: Yommy, cremane, Eofim
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-12 00:18:54 +00:00
commit 648df91b9d
2 changed files with 4 additions and 4 deletions

View file

@ -528,11 +528,11 @@ void UIBasicItemCtrl::OnMouseHover(int, int) {
if (std::atoi(this->m_item.itemId.c_str()) < 1) {
text = this->m_tooltip;
} else if (this->m_item.identity[1] == 0) {
text = this->m_item.DisplayName(0);
text = static_cast<const std::string&>(this->m_item.DisplayName(0));
} else if (this->m_item.optionCount != 0) {
text = FormatOwnedString(LookupMessage(MSI_FAIL_NEED_EQUIPPED_GUN_GATLING), this->m_item.DisplayName(0).c_str(), this->m_item.optionCount, this->m_item.quantity);
text = static_cast<const std::string&>(FormatOwnedString(LookupMessage(MSI_FAIL_NEED_EQUIPPED_GUN_GATLING), this->m_item.DisplayName(0).c_str(), this->m_item.optionCount, this->m_item.quantity));
} else {
text = FormatOwnedString(LookupMessage(MSI_EA2), this->m_item.DisplayName(0).c_str(), this->m_item.quantity);
text = static_cast<const std::string&>(FormatOwnedString(LookupMessage(MSI_EA2), this->m_item.DisplayName(0).c_str(), this->m_item.quantity));
}
int screenX = 0, screenY = 0;