From 9dbca3a8e7edaec10b661f13e4be2129f0a23b88 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 21:21:41 +0000 Subject: [PATCH] Decompile fn_09850 (UIMacroReporterWnd::Slot25) Batch #13678 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_09850 UIMacroReporterWnd::Slot25: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/UIMacroUserInfoWnd.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/UI/UIMacroUserInfoWnd.cpp b/Source/UI/UIMacroUserInfoWnd.cpp index 39cec3f28..5388df637 100644 --- a/Source/UI/UIMacroUserInfoWnd.cpp +++ b/Source/UI/UIMacroUserInfoWnd.cpp @@ -245,9 +245,11 @@ void UIMacroReporterWnd::Slot25(int x, int y) { } g_windowMgr.SetCapture(this); - this->ToScreen(x, y); - this->m_dragX = x; - this->m_dragY = y; + int screenX = x; + int screenY = y; + this->ToScreen(screenX, screenY); + this->m_dragX = screenX; + this->m_dragY = screenY; this->m_originX = this->geometry.x; this->m_originY = this->geometry.y; g_snapMgr.CaptureOrigins(this);