mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 23:07:42 +00:00
Add Global Project
Fix Particle Crashes
This commit is contained in:
@@ -1118,7 +1118,7 @@ bool CParticleDataFactory::CreateGPSM(CGenDescription* fillDesc, CInputStream& i
|
||||
}
|
||||
|
||||
/* Now for our custom additions, if available */
|
||||
if (!in.atEnd())
|
||||
if (!in.atEnd() && (in.position() + 4) < in.length())
|
||||
{
|
||||
clsId = GetClassID(in);
|
||||
if (clsId == 0xFFFFFFFF)
|
||||
|
||||
Reference in New Issue
Block a user