From 42faaa34e82cb2be4dc1ccef3e8f5756c11cd4a1 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 17:57:45 +0000 Subject: [PATCH] Decompile fn_09597 (UINewSelectCharWnd::UpdateSlotButtons) Batch #14737 by secret: 0 byte-identical, 1 confirmed by peer review. - fn_09597 UINewSelectCharWnd::UpdateSlotButtons: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UINewSelectCharWnd.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/UI/Window/UINewSelectCharWnd.cpp b/Source/UI/Window/UINewSelectCharWnd.cpp index 1a3c35ce9..4356e6261 100644 --- a/Source/UI/Window/UINewSelectCharWnd.cpp +++ b/Source/UI/Window/UINewSelectCharWnd.cpp @@ -1148,12 +1148,8 @@ void UINewSelectCharWnd::UpdateSlotButtons() { } static_cast(this->m_slotButtons2[index])->SetSlot(this->m_slotStatus[slot] ? -1 : slot, slot); - if (slot < g_session.m_producibleSlotCount && this->m_slotStatus[slot] == 1) { - if (slot < g_session.m_validSlotCount) { - this->m_slotButtons2[index]->SendMsg(nullptr, 431, 0, 0, 0, 0); - } else { - this->m_slotButtons2[index]->SendMsg(nullptr, 431, 1, 0, 0, 0); - } + if (slot < g_session.m_producibleSlotCount && this->m_slotStatus[slot] == 1 && slot < g_session.m_validSlotCount) { + this->m_slotButtons2[index]->SendMsg(nullptr, 431, 0, 0, 0, 0); } else { this->m_slotButtons2[index]->SendMsg(nullptr, 431, 1, 0, 0, 0); }