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:
auria 2008-09-29 15:43:58 +00:00
parent 88d5b15747
commit 04c106843a
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -355,8 +355,9 @@ void World::updateHighscores()
{
highscore_manager->Save();
}
}
} // next position
delete []index;
} // updateHighscores
//-----------------------------------------------------------------------------
void World::printProfileResultAndExit()