fixed restarting FTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -122,7 +122,9 @@ void FollowTheLeaderRace::update(float delta)
|
||||
void FollowTheLeaderRace::restartRace()
|
||||
{
|
||||
LinearWorld::restartRace();
|
||||
m_leader_intervals.clear();
|
||||
m_leader_intervals = stk_config->m_leader_intervals;
|
||||
TimedRace::setClockMode(COUNTDOWN, m_leader_intervals[0]);
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
std::string FollowTheLeaderRace::getInternalCode() const
|
||||
|
||||
Reference in New Issue
Block a user