From ebb701ff1544793b53aa2b93bb71b94c49f5ee0c Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 03:58:36 +0000 Subject: [PATCH] Decompile fn_12648 (UIRoMapWnd::Slot15) Batch #13755 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_12648 UIRoMapWnd::Slot15: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, aDw Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Window/UIRoMapWnd.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Source/UI/Window/UIRoMapWnd.cpp b/Source/UI/Window/UIRoMapWnd.cpp index a2c183e18..35d89091b 100644 --- a/Source/UI/Window/UIRoMapWnd.cpp +++ b/Source/UI/Window/UIRoMapWnd.cpp @@ -988,20 +988,15 @@ void UIRoMapWnd::Slot15(int, int) { this->m_worldCombo->dropdownHeight = 67; this->m_worldCombo->SetSize(110, this->m_comboHeight); this->m_worldCombo->Move(17, 0); - this->m_worldCombo->borderRed = 100; - this->m_worldCombo->borderGreen = 100; - this->m_worldCombo->borderBlue = 100; - this->m_worldCombo->red = 232; - this->m_worldCombo->green = 232; - this->m_worldCombo->blue = 232; + this->m_worldCombo->SetBorderColor(100, 100, 100); + this->m_worldCombo->SetColor(232, 232, 232); this->AddChild(this->m_worldCombo); const int worldCount = static_cast(g_worldViewMgr.worlds.size()); for (int index = 0; index < worldCount; ++index) { this->m_worldCombo->AddOption(g_worldViewMgr.worlds[index]->name, 0); } - g_worldViewMgr.SelectCurrentWorld(); - this->m_worldCombo->Select(g_worldViewMgr.currentWorld); + this->m_worldCombo->Select(g_worldViewMgr.SelectCurrentWorld()); g_worldViewMgr.LoadTextures(); this->Invalidate(); {