diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index 43b2fcc07..2f34c0f03 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -437,14 +437,14 @@ int RuneSetData::GetGradeValue() const { // FUNCTION: fn_08143 std::vector* CRuneSystemMgr::GetDecomList(int itemId, int which) { const auto decom = this->m_itemDecoms.find(itemId); - const std::pair* types = decom != this->m_itemDecoms.end() ? &decom->second : nullptr; + const std::pair* types = this->m_itemDecoms.end() == decom ? nullptr : &decom->second; if (!types) { return nullptr; } const int typeId = which == 0 ? types->first : types->second; const auto found = this->m_decomTypes.find(typeId); - return found != this->m_decomTypes.end() ? &found->second : nullptr; + return this->m_decomTypes.end() == found ? nullptr : &found->second; } // OFFSET: 0x00767230