From 924afcc36ddb5cf3d1494934044ad082e5895743 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 00:40:03 +0000 Subject: [PATCH] Decompile fn_10866 (UIStaticText::Slot28) Batch #11049 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10866 UIStaticText::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/UIStaticText.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/Text/UIStaticText.cpp b/Source/UI/Text/UIStaticText.cpp index c39cf4ac..8782b86d 100644 --- a/Source/UI/Text/UIStaticText.cpp +++ b/Source/UI/Text/UIStaticText.cpp @@ -4,6 +4,7 @@ #include "UI/Buttons/UIBmpTextButton.h" #include "UI/Text/UIStaticText.h" #include "Client/Mode/CMode.h" +#include "Client/Mode/ModeMgr.h" #include @@ -198,7 +199,7 @@ void UIStaticText::Slot28(int, int) { y = (y + node->geometry.y); } - static_cast(g_charViewMode)->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true); + g_modeMgr.gameMode->ShowTooltip(this->tooltip.c_str(), x, y, -1, false, true); } // OFFSET: 0x0085FAB0