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:
auria
2008-11-27 21:36:11 +00:00
parent ea05fbe375
commit 53ccf88532

View File

@@ -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