2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-08 20:19:07 +00:00
This commit is contained in:
Phillip Stephens 2016-02-13 11:11:00 -08:00
parent 07a6bad207
commit f5de9a3033

View File

@ -132,11 +132,9 @@ bool CProjectileWeaponDataFactory::CreateWPSM(CWeaponDescription* desc, CInputSt
case SBIG('PJFX'): case SBIG('PJFX'):
{ {
FourCC cid = CPF::GetClassID(in); FourCC cid = CPF::GetClassID(in);
if (cid != FOURCC('CNST')) if (cid == FOURCC('NONE'))
{ break;
Log.report(LogVisor::FatalError, "PJFX element does not begin with CNST");
return false;
}
desc->xa8_PJFX = CPF::GetInt(in); desc->xa8_PJFX = CPF::GetInt(in);
break; break;
} }