Add missing arg

This commit is contained in:
Phillip Stephens 2016-02-04 21:57:46 -08:00
parent 0133115cee
commit 6355216b94
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@ CToken CSimplePool::GetObj(const SObjectTag& tag, const CVParamTransfer& paramXf
});
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
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);
}