From ef069d50a04905e33939af8f39ba8950b77f74df Mon Sep 17 00:00:00 2001 From: hikerstk Date: Wed, 21 Sep 2011 00:55:18 +0000 Subject: [PATCH] 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 --- src/modes/three_strikes_battle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modes/three_strikes_battle.cpp b/src/modes/three_strikes_battle.cpp index 4216438de..a8c356f63 100644 --- a/src/modes/three_strikes_battle.cpp +++ b/src/modes/three_strikes_battle.cpp @@ -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; }