Decompile fn_10475 (UIItemImage::Slot28)

Batch #11056 by dori: 0 byte-identical, 1 confirmed by peer review.

- fn_10475 UIItemImage::Slot28: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev, 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 00:29:49 +00:00
commit 81726a5d6e

View file

@ -1662,8 +1662,8 @@ void UIItemImage::Slot28(int, int) {
int y = -17;
this->ToScreen(x, y);
if (g_charViewMode) {
CMode* tooltip = static_cast<CMode*>(g_charViewMode);
if (g_modeMgr.gameMode) {
CMode* tooltip = g_modeMgr.gameMode;
const std::uint32_t color = g_session.GetItemNameColor(item);
tooltip->ShowTooltip(item.DisplayName(0).c_str(), x, y, color, 0, 1);
}