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:
parent
e77690237c
commit
eac29e8c16
@ -129,6 +129,7 @@ SlipStream::~SlipStream()
|
||||
void SlipStream::reset()
|
||||
{
|
||||
m_slipstream_mode = SS_NONE;
|
||||
m_slipstream_time = 0;
|
||||
} // reset
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -483,6 +483,8 @@ void Kart::reset()
|
||||
m_camera->setInitialTransform();
|
||||
}
|
||||
|
||||
m_slipstream->reset();
|
||||
|
||||
// Reset animations and wheels
|
||||
m_kart_model->reset();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user