Avoid slowdown in profile mode in profile mode when fps is < 60.
This commit is contained in:
parent
9299eca758
commit
d092dcf96c
@ -119,8 +119,6 @@ float MainLoop::getLimitedDt()
|
||||
*/
|
||||
void MainLoop::updateRace(float dt)
|
||||
{
|
||||
if(ProfileWorld::isProfileMode()) dt=1.0f/60.0f;
|
||||
|
||||
// The race event manager will update world in case of an online race
|
||||
if (RaceEventManager::getInstance<RaceEventManager>()->isRunning())
|
||||
RaceEventManager::getInstance<RaceEventManager>()->update(dt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user