Remove bomb (and other attachments) if a kart explodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1972f3baf8
commit
e7edf7875c
@ -169,6 +169,7 @@ void EmergencyAnimation::handleExplosion(const Vec3 &pos, bool direct_hit)
|
|||||||
{
|
{
|
||||||
m_stars_effect->showFor(6.0f);
|
m_stars_effect->showFor(6.0f);
|
||||||
}
|
}
|
||||||
|
m_kart->getAttachment()->clear();
|
||||||
} // handleExplosion
|
} // handleExplosion
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user