Improve resetting slipstream

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-08-02 00:31:22 +00:00
parent e77690237c
commit eac29e8c16
2 changed files with 3 additions and 0 deletions

View File

@ -129,6 +129,7 @@ SlipStream::~SlipStream()
void SlipStream::reset() void SlipStream::reset()
{ {
m_slipstream_mode = SS_NONE; m_slipstream_mode = SS_NONE;
m_slipstream_time = 0;
} // reset } // reset
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@ -483,6 +483,8 @@ void Kart::reset()
m_camera->setInitialTransform(); m_camera->setInitialTransform();
} }
m_slipstream->reset();
// Reset animations and wheels // Reset animations and wheels
m_kart_model->reset(); m_kart_model->reset();