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:
hikerstk 2011-01-17 21:20:18 +00:00
parent 1972f3baf8
commit e7edf7875c

View File

@ -169,6 +169,7 @@ void EmergencyAnimation::handleExplosion(const Vec3 &pos, bool direct_hit)
{
m_stars_effect->showFor(6.0f);
}
m_kart->getAttachment()->clear();
} // handleExplosion
// ----------------------------------------------------------------------------