fixed cake (broken by last commit)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2008-11-18 01:33:10 +00:00
parent 94cfd1bab8
commit 16dc56721f

View File

@@ -90,7 +90,8 @@ Cake::Cake (Kart *kart) : Flyable(kart, POWERUP_CAKE)
m_initial_velocity = btVector3(0.0f, m_speed, up_velocity);
createPhysics(y_offset, m_initial_velocity,
new btCylinderShape(0.5f*m_extend), true /* gravity */, true /* rotation */, &trans);
new btCylinderShape(0.5f*m_extend), true /* gravity */,
true /* rotation */, false /* backwards */, &trans);
m_body->setActivationState(DISABLE_DEACTIVATION);