Fixed #962. Remove terrain particle emitter when the kart is eliminated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
893276d3b3
commit
dbe81fcc15
@ -1036,6 +1036,7 @@ void Kart::eliminate()
|
|||||||
m_stars_effect->update(1);
|
m_stars_effect->update(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_kart_gfx->setCreationRateAbsolute(KartGFX::KGFX_TERRAIN, 0);
|
||||||
m_eliminated = true;
|
m_eliminated = true;
|
||||||
|
|
||||||
m_node->setVisible(false);
|
m_node->setVisible(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user