Decompile fn_10399 (UISwapEquipmentWnd::Slot28)

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

- fn_10399 UISwapEquipmentWnd::Slot28: logic confirmed by peer review

Peer-reviewed-by: secret, KWDev, codeplay
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-07 08:26:48 +00:00
commit 0f129db498

View file

@ -445,7 +445,7 @@ void UISwapEquipmentWnd::Slot28(int x, int y) {
} else if (item.unknown_0098 != 0) {
text = static_cast<const std::string&>(FormatOwnedString(LookupMessage(0xA28), item.DisplayName(0).c_str(), item.unknown_0098));
} else {
text = item.DisplayName(0);
text = static_cast<const std::string&>(item.DisplayName(0));
}
g_modeMgr.GetGameMode()->ShowTooltip(text.c_str(), tooltipX, tooltipY, g_session.GetItemNameColor(item), 0, 1);