Commit 55a8f707 authored by hybrid's avatar hybrid

Oops, null pointers fixed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1749 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 86382da2
......@@ -491,8 +491,11 @@ void CParticleSystemSceneNode::setParticleSize(const core::dimension2d<f32> &siz
{
//A bit of a hack, but better here than in the particle code
const core::vector2df tempsize(size.Width, size.Height);
if (Emitter)
{
Emitter->setMinStartSize(tempsize);
Emitter->setMaxStartSize(tempsize);
}
ParticleSize = size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment