From a69dd90a678e004f576dba72c50a2aa9c9c066ea Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 04:29:17 +0000 Subject: [PATCH] Decompile fn_17270 (UIWindowMgr::RearrangeMiniPartyWindows) Batch #11711 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_17270 UIWindowMgr::RearrangeMiniPartyWindows: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/MiniPartyManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/MiniPartyManager.cpp b/Source/UI/MiniPartyManager.cpp index f1e368b5..181d9160 100644 --- a/Source/UI/MiniPartyManager.cpp +++ b/Source/UI/MiniPartyManager.cpp @@ -62,11 +62,11 @@ void UIWindowMgr::RearrangeMiniPartyWindows() { for (; cell != cells.end() && entry != this->snapExcluded.end(); ++cell, ++entry) { MiniPartyGridPoint position; reinterpret_cast(&area)->GetWindowPosition(&position, *cell); - UIMiniPartyWnd* window = static_cast(*entry); - window->Move(position.x, position.y); - window->m_cell = *cell; + (*entry)->Move(position.x, position.y); + static_cast(*entry)->m_cell = *cell; + const int index = *cell; - const MessengerMember member = window->m_member; + const MessengerMember member = static_cast(*entry)->m_member; g_session.SetRecord0734Value(member.accountId, index); } }