summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp6
1 files 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)