Don't recreate animation if exists already
This commit is contained in:
parent
552028e791
commit
58c55a3b30
@ -345,6 +345,7 @@ void Attachment::hitBanana(ItemState *item_state)
|
||||
if (race_manager->getMinorMode() == RaceManager::MINOR_MODE_BATTLE)
|
||||
{
|
||||
World::getWorld()->kartHit(m_kart->getWorldKartId());
|
||||
if (m_kart->getKartAnimation() == NULL)
|
||||
ExplosionAnimation::create(m_kart);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user