Match CParticleDataFactory::GetRealElement

This commit is contained in:
Phillip Stephens 2025-05-13 13:28:53 -07:00
parent 19ed9e1b28
commit 053b5c9c5e

View File

@ -125,6 +125,10 @@ CRealElement* CParticleDataFactory::GetRealElement(CInputStream& in) {
case SBIG('CNST'): {
return rs_new CREConstant(GetReal(in));
}
case SBIG('NONE'): {
return nullptr;
}
case SBIG('KEYE'):
case SBIG('KEYP'): {
return rs_new CREKeyframeEmitter(in);
}
@ -135,7 +139,7 @@ CRealElement* CParticleDataFactory::GetRealElement(CInputStream& in) {
CRealElement* a = GetRealElement(in);
CRealElement* b = GetRealElement(in);
CRealElement* c = GetRealElement(in);
return rs_new CRESineWave(c, a,b);
return rs_new CRESineWave(c, a, b);
}
case SBIG('ADD_'): {
CRealElement* a = GetRealElement(in);