From 3336b1f4dc365448bccaa34db72ae66403adc28d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Mon, 9 Nov 2026 20:40:48 +0000 Subject: [PATCH] Decompile fn_12671 (UIQuickSlotWnd::Paint) Batch #15299 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_12671 UIQuickSlotWnd::Paint: logic confirmed by peer review Peer-reviewed-by: eAthena, gordaoprogramas Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Shortcuts/ShortcutCooldowns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Shortcuts/ShortcutCooldowns.cpp b/Source/UI/Shortcuts/ShortcutCooldowns.cpp index 0cf48d874..e876a2b16 100644 --- a/Source/UI/Shortcuts/ShortcutCooldowns.cpp +++ b/Source/UI/Shortcuts/ShortcutCooldowns.cpp @@ -427,7 +427,7 @@ void UIQuickSlotWnd::Paint() { g_session.ItemBitmapPath(skill.name, text); auto* image = static_cast(ResourceMgr::Instance().Load(Resolve(text))); g_session.m_alternateCooldownIcons.push_back({skill.id, index, x, 5}); - this->DrawBitmap(x, 5, &image->image, true); + this->DrawBitmap(x, 5, image, true); if (entry.count != 0) { std::sprintf(text, "%d", entry.count); this->DrawTextAt(x + 15, 20, text, 0, 0, 11, 0xFFFFFF, 0, 0); @@ -446,7 +446,7 @@ void UIQuickSlotWnd::Paint() { if (item.grade > 0) { const std::string name = FormatOwnedString("유저인터페이스\\grade_enchant\\grade_icon%d.bmp", item.grade); auto* grade = static_cast(ResourceMgr::Instance().Load(Resolve(name.c_str()))); - this->DrawBitmap(x, 17, &grade->image, true); + this->DrawBitmap(x, 17, grade, true); } } }