Decompile fn_17979 (CItemInfoMgr::GetEffectId)
Batch #12760 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_17979 CItemInfoMgr::GetEffectId: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
38760bdfdc
commit
01eb534606
1 changed files with 3 additions and 3 deletions
|
|
@ -53,10 +53,10 @@ int CItemInfoMgr::IsCostume(int id) {
|
|||
// FUNCTION: fn_17979
|
||||
int CItemInfoMgr::GetEffectId(int id) {
|
||||
std::map<int, lcData>::iterator it = this->m_items.find(id);
|
||||
if (it == this->m_items.end()) {
|
||||
return -1;
|
||||
if (it != this->m_items.end()) {
|
||||
return it->second.effectId;
|
||||
}
|
||||
return it->second.effectId;
|
||||
return -1;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00ADFF30
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue