From 81726a5d6eacba027c528f511661f44b7da7d700 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:29:49 +0000 Subject: [PATCH] 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). --- Source/UI/Text/NavigationLink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Text/NavigationLink.cpp b/Source/UI/Text/NavigationLink.cpp index 3575adc8..2bac5774 100644 --- a/Source/UI/Text/NavigationLink.cpp +++ b/Source/UI/Text/NavigationLink.cpp @@ -1662,8 +1662,8 @@ void UIItemImage::Slot28(int, int) { int y = -17; this->ToScreen(x, y); - if (g_charViewMode) { - CMode* tooltip = static_cast(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); }