From 5adb2dba3bf6ca5969117b8b90b00c40e8cae0ea Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Aug 2011 03:37:31 +0300 Subject: Change limits when enable auto adjust perfomance. --- src/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 6abc15277..9a5128f37 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -571,10 +571,10 @@ void Game::adjustPerfomance() int maxFps = config.getIntValue("fpslimit"); if (!maxFps) maxFps = 30; - else if (maxFps < 6) - maxFps = 6; + else if (maxFps < 10) + return; - if (fps < maxFps - 5) + if (fps < maxFps - 10) { mAdjustLevel ++; switch (mAdjustLevel) -- cgit v1.2.3-60-g2f50