From fcac5f5804e342fc1e9954cccd8af915ae1cf7ab Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 15:45:57 +0000 Subject: [PATCH] Decompile fn_21430 (ModeDragState::BeginSkill) Batch #16199 by youko: 0 byte-identical, 1 confirmed by peer review. - fn_21430 ModeDragState::BeginSkill: logic confirmed by peer review Peer-reviewed-by: Yommy, kyoshi Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Client/Mode/ModeDragState.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Client/Mode/ModeDragState.cpp b/Source/Client/Mode/ModeDragState.cpp index 0b0c062e5..3a86659db 100644 --- a/Source/Client/Mode/ModeDragState.cpp +++ b/Source/Client/Mode/ModeDragState.cpp @@ -71,11 +71,7 @@ void ModeDragState::BeginItem( void ModeDragState::BeginSkill( WindowManagerWindows& windows, ResourceMgr& resources, int sourceValue, std::uint32_t idValue, const char* nameValue, int level, int slotValue ) { - UIWindow* window = windows.EnsureWindow(WID_ITEMDROPCNTWND); - if (window->geometry.visible != 0) { - window->Show(0); - } - + g_windowMgr.ShowWindowById(WID_ITEMDROPCNTWND, 0); this->Clear(); this->source = sourceValue; this->id = idValue;