2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 02:27:43 +00:00

Add DSPC factory

This commit is contained in:
2016-02-23 02:34:19 -08:00
parent 0c5a28f03c
commit 88cbb2b659
4 changed files with 164 additions and 4 deletions

View File

@@ -23,8 +23,10 @@ CSwooshDescription*CParticleSwooshDataFactory::CreateGeneratorDescription(CInput
if (clsId == FOURCC('SWSH'))
{
CSwooshDescription* desc = new CSwooshDescription;
CreateWPSM(desc, in, resPool);
return desc;
if (CreateWPSM(desc, in, resPool))
return desc;
else
delete desc;
}
return nullptr;
}