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:
ragnarok-clanker 2026-11-06 00:32:55 +00:00
commit 01eb534606

View file

@ -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