diff --git a/Source/Contents/Items/RuneSystem.cpp b/Source/Contents/Items/RuneSystem.cpp index 56681655..5528c667 100644 --- a/Source/Contents/Items/RuneSystem.cpp +++ b/Source/Contents/Items/RuneSystem.cpp @@ -444,11 +444,7 @@ std::vector* CRuneSystemMgr::GetDecomList(int itemId, int which) const int typeId = which == 0 ? types->first : types->second; const auto found = this->m_decomTypes.find(typeId); - if (found == this->m_decomTypes.end()) { - return nullptr; - } - - return &found->second; + return found != this->m_decomTypes.end() ? &found->second : nullptr; } // OFFSET: 0x00767230