From d9fe373a0a53cf978618704e85056c0efffe02ea Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 12:50:53 +0000 Subject: [PATCH] Decompile fn_08129 (CRuneSystemMgr::GetGradeFailValue) Batch #13030 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_08129 CRuneSystemMgr::GetGradeFailValue: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Toshiro, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Contents/Items/RuneSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index 6db847da..881703a4 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -290,7 +290,7 @@ int CRuneSystemMgr::GetCurSlotCount() const { int CRuneSystemMgr::GetGradeFailValue(RuneSetData* runeSet) { if (runeSet) { const auto found = this->m_gradeFailTypes.find(runeSet->m_gradeFailType); - if (found != this->m_gradeFailTypes.end() && static_cast(runeSet->m_grade) < found->second.size()) { + if (this->m_gradeFailTypes.end() != found && static_cast(runeSet->m_grade) < found->second.size()) { return found->second[runeSet->m_grade]; } }