Fixed continue GPs

This commit is contained in:
Deve 2014-10-02 20:19:15 +02:00
parent 4ecff3e46b
commit 710f7e7296

View File

@ -1245,9 +1245,9 @@ void Kart::update(float dt)
// let kart fall a bit before rescuing
const Vec3 *min, *max;
World::getWorld()->getTrack()->getAABB(&min, &max);
if(min->getY() - getXYZ().getY() > 17 && !m_flying &&
!getKartAnimation())
new RescueAnimation(this);
//~ if(min->getY() - getXYZ().getY() > 17 && !m_flying &&
//~ !getKartAnimation())
//~ new RescueAnimation(this);
}
else
{