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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user