Fixed emitters not being removed

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-02-03 22:55:46 +00:00
parent 000f95d52f
commit 380d7d3ed2

View File

@ -185,8 +185,10 @@ void ParticleEmitter::setParticleType(const ParticleKind* type)
m_node->removeAll();
m_node->removeAllAffectors();
}
m_node = irr_driver->addParticleNode();
else
{
m_node = irr_driver->addParticleNode();
}
if (m_parent != NULL)
{