better fix for karts-position wrong when restarting a race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
88d5b15747
commit
04c106843a
@ -108,7 +108,9 @@ void LinearWorld::restartRace()
|
||||
info.m_lap_start_time = -1.0f;
|
||||
info.m_time_at_last_lap = 99999.9f;
|
||||
|
||||
updateRacePosition(m_kart[n], info);
|
||||
}// next kart
|
||||
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
void LinearWorld::update(float delta)
|
||||
|
@ -355,8 +355,9 @@ void World::updateHighscores()
|
||||
{
|
||||
highscore_manager->Save();
|
||||
}
|
||||
}
|
||||
} // next position
|
||||
delete []index;
|
||||
|
||||
} // updateHighscores
|
||||
//-----------------------------------------------------------------------------
|
||||
void World::printProfileResultAndExit()
|
||||
|
Loading…
Reference in New Issue
Block a user