Decompile 2 functions in Source/Contents/Items/RuneSystem.cpp
Batch #13034 by cremane: 2 byte-identical, 0 confirmed by peer review. - fn_08132 CRuneSystemMgr::GetItemListEntry: byte-identical - fn_08133 CRuneSystemMgr::GetItemListCount: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
952092390b
commit
b474415a11
1 changed files with 2 additions and 2 deletions
|
|
@ -314,7 +314,7 @@ bool RuneData::IsActive() const {
|
|||
// FUNCTION: fn_08132
|
||||
const std::pair<int, int>& CRuneSystemMgr::GetItemListEntry(int listId, unsigned int index) {
|
||||
const auto found = this->m_itemLists.find(listId);
|
||||
if (found == this->m_itemLists.end() || index >= found->second.size()) {
|
||||
if (this->m_itemLists.end() == found || index >= found->second.size()) {
|
||||
return this->m_emptyItem;
|
||||
}
|
||||
|
||||
|
|
@ -325,7 +325,7 @@ const std::pair<int, int>& CRuneSystemMgr::GetItemListEntry(int listId, unsigned
|
|||
// FUNCTION: fn_08133
|
||||
int CRuneSystemMgr::GetItemListCount(int listId) {
|
||||
const auto found = this->m_itemLists.find(listId);
|
||||
if (found != this->m_itemLists.end()) {
|
||||
if (this->m_itemLists.end() != found) {
|
||||
return static_cast<int>(found->second.size());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue