Fix #428: scene node of eliminated kart in battle mode was still

visible.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-09-21 00:55:18 +00:00
parent ca1093a563
commit ef069d50a0

View File

@ -149,7 +149,8 @@ void ThreeStrikesBattle::kartHit(const int kart_id)
if(wheels[1]) wheels[1]->setVisible(false);
if(wheels[2]) wheels[2]->setVisible(false);
if(wheels[3]) wheels[3]->setVisible(false);
eliminateKart(kart_id, true, false);
eliminateKart(kart_id, /*notify_of_elimination*/ true,
/*remove*/true);
m_insert_tire = 4;
}