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:
deveee 2013-10-10 19:14:47 +00:00
parent 893276d3b3
commit dbe81fcc15

View File

@ -1036,6 +1036,7 @@ void Kart::eliminate()
m_stars_effect->update(1);
}
m_kart_gfx->setCreationRateAbsolute(KartGFX::KGFX_TERRAIN, 0);
m_eliminated = true;
m_node->setVisible(false);