Decompile fn_08143 (CRuneSystemMgr::GetDecomList)
Batch #12519 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_08143 CRuneSystemMgr::GetDecomList: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, KWDev, dori, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
e687f3d8da
commit
bf1aa131a7
1 changed files with 1 additions and 5 deletions
|
|
@ -444,11 +444,7 @@ std::vector<Decom_ItemInfo>* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue