From 9234641805b4a8d11f021ed2c993f67be31daade Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 22:13:54 +0000 Subject: [PATCH] Decompile fn_13561 (UIMiniMapWnd::ResetCursor) Batch #10973 by dori: 1 byte-identical, 0 confirmed by peer review. - fn_13561 UIMiniMapWnd::ResetCursor: byte-identical Peer-reviewed-by: Yommy, cremane, StrawberrysherbetIX Merged automatically: every function is byte-identical to the original. --- Source/UI/Dialogs/UIEditctrlWnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Dialogs/UIEditctrlWnd.cpp b/Source/UI/Dialogs/UIEditctrlWnd.cpp index 2a49f06c7..cc58bc25a 100644 --- a/Source/UI/Dialogs/UIEditctrlWnd.cpp +++ b/Source/UI/Dialogs/UIEditctrlWnd.cpp @@ -238,9 +238,9 @@ void UIMiniMapWnd::Slot25(int x, int y) { // FUNCTION: fn_13561 void UIMiniMapWnd::ResetCursor(int, int) { if (this->dragging) { - static_cast(g_charViewMode)->SetCursorAction(1); + g_modeMgr.gameMode->SetCursorAction(1); } else { - static_cast(g_charViewMode)->SetCursorAction(0); + g_modeMgr.gameMode->SetCursorAction(0); } }