Minor: fix rescue when flying

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-01-13 22:13:54 +00:00
parent 33ee342b11
commit 70154fabfc

View File

@@ -874,6 +874,11 @@ void Kart::update(float dt)
if (emergency)
{
m_view_blocked_by_plunger = 0.0f;
if (m_flying)
{
stopFlying();
m_flying = false;
}
}
// Remove the shadow if the kart is not on the ground (if a kart