Temporary crashfix, ref #68

--HG--
branch : multipass-stereo
This commit is contained in:
kaetemi 2014-08-01 15:23:13 +02:00
parent caefb04928
commit f32c3bf6b0

View file

@ -422,6 +422,11 @@ void CParticleSystem::step(TPass pass, TAnimationTime ellapsedTime, CParticleSys
NL_PS_FUNC_MAIN(CParticleSystem_step) NL_PS_FUNC_MAIN(CParticleSystem_step)
CHECK_INTEGRITY CHECK_INTEGRITY
OwnerModel = &model; OwnerModel = &model;
if (!_CoordSystemInfo.Matrix)
{
nlwarning("3D: BUG: CParticleSystem::step -> !_CoordSystemInfo.Matrix");
return;
}
nlassert(_CoordSystemInfo.Matrix); // matrix not set for position of system nlassert(_CoordSystemInfo.Matrix); // matrix not set for position of system
if (_UserCoordSystemInfo) if (_UserCoordSystemInfo)
{ {