2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-04 05:35:36 +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'):
{
FourCC cid = CPF::GetClassID(in);
if (cid != FOURCC('CNST'))
{
Log.report(LogVisor::FatalError, "PJFX element does not begin with CNST");
return false;
}
if (cid == FOURCC('NONE'))
break;
desc->xa8_PJFX = CPF::GetInt(in);
break;
}