kart:reset zipper/look back key

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
davemk 2009-08-17 13:39:38 +00:00
parent 91613632ff
commit d5b56f92ee

View File

@ -356,6 +356,9 @@ void Kart::reset()
m_controls.m_nitro = false;
m_controls.m_drift = false;
m_controls.m_fire = false;
m_controls.m_look_back = false;
m_vehicle->deactivateZipper();
// Set the brakes so that karts don't slide downhill
for(int i=0; i<4; i++) m_vehicle->setBrake(5.0f, i);