2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-14 22:05:53 +00:00

Add missing arg

This commit is contained in:
Phillip Stephens 2016-02-04 21:57:46 -08:00
parent 0133115cee
commit 6355216b94

View File

@ -16,9 +16,9 @@ CToken CSimplePool::GetObj(const SObjectTag& tag, const CVParamTransfer& paramXf
}); });
if (iter != x4_resources.end()) if (iter != x4_resources.end())
return CToken(iter.second); return CToken(iter->second);
// TODO: There is some logic missing here, need to figure out what it's doing // TODO: There is some logic missing here, need to figure out what it's doing
CObjectReference* ret = new CObjectReference(*this, x30_factory.Build(tag, paramXfer), paramXfer); CObjectReference* ret = new CObjectReference(*this, x30_factory.Build(tag, paramXfer), tag, paramXfer);
return CToken(ret); return CToken(ret);
} }