2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

CToken fix

Initial CRSC
This commit is contained in:
2016-02-15 23:01:55 -08:00
parent 6614171283
commit 18e34b4dce
7 changed files with 189 additions and 4 deletions

View File

@@ -21,8 +21,10 @@ CToken CSimplePool::GetObj(const SObjectTag& tag, const CVParamTransfer& paramXf
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), tag, paramXfer);
if (ret->GetObject())
return CToken(ret);
return CToken(ret);
return CToken();
}
CToken CSimplePool::GetObj(const SObjectTag& tag)