Temporary crashfix, ref #68
This commit is contained in:
parent
f6483d45ef
commit
2d7eb321b0
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue