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).
This commit is contained in:
parent
f6d67dc3ca
commit
d9fe373a0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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<unsigned int>(runeSet->m_grade) < found->second.size()) {
|
||||
if (this->m_gradeFailTypes.end() != found && static_cast<unsigned int>(runeSet->m_grade) < found->second.size()) {
|
||||
return found->second[runeSet->m_grade];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue