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:
parent
000f95d52f
commit
380d7d3ed2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user