Set menu FPS to 60 (#2823)

Smoother, see https://github.com/supertuxkart/stk-code/issues/2302.
This commit is contained in:
QwertyChouskie 2017-03-27 18:56:20 -07:00 committed by auriamg
parent a3544735db
commit 0123228c20

View File

@ -119,7 +119,7 @@ float MainLoop::getLimitedDt()
// When in menus, reduce FPS much, it's not necessary to push to the maximum for plain menus
const int max_fps = (irr_driver->isRecording() &&
UserConfigParams::m_limit_game_fps ? UserConfigParams::m_record_fps :
StateManager::get()->throttleFPS() ? 30 : UserConfigParams::m_max_fps);
StateManager::get()->throttleFPS() ? 60 : UserConfigParams::m_max_fps);
if (dt > 0)
{
const int current_fps = (int)(1000.0f / dt);