From 731cd93184841f2dc3ed4f4c4b4ed5c484d59898 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 4 Nov 2026 21:07:01 +0000 Subject: [PATCH] Decompile fn_08123 (RuneSetData::CountActiveSlots) Batch #11176 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_08123 RuneSetData::CountActiveSlots: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Items/RuneSystem.cpp | 2 +- Source/Contents/Items/RuneSystem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index dc87c426..e98649d1 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -240,7 +240,7 @@ int RuneSetData::CountActiveSlots() const { int count = 0; for (RuneData* rune : this->m_slots) { if (rune) { - count += rune->m_active; + count += rune->IsActive(); } } diff --git a/Source/Contents/Items/RuneSystem.h b/Source/Contents/Items/RuneSystem.h index 8d8ffc2b..4ab0cd95 100644 --- a/Source/Contents/Items/RuneSystem.h +++ b/Source/Contents/Items/RuneSystem.h @@ -28,7 +28,7 @@ public: class RuneData { public: /* 0008 */ int m_kind; - /* 000C */ bool m_active; + /* 000C */ std::uint8_t m_active; /* 0010 */ std::int64_t m_id; /* 0018 */ std::string m_name; /* 0030 */ std::string m_resName;