diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp index 446b3fbfd..d15c79a36 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -638,7 +638,7 @@ void Game::slowLogic() } } closeDialogs(); - Client::setFramerate(config.getIntValue("fpslimit")); + client->setFramerate(config.getIntValue("fpslimit")); mNextAdjustTime = cur_time + adjustDelay; if (client->getState() != STATE_ERROR) errorMessage.clear(); @@ -681,7 +681,7 @@ void Game::adjustPerfomance() return; } - int maxFps = Client::getFramerate(); + int maxFps = client->getFramerate(); if (maxFps != config.getIntValue("fpslimit")) return; @@ -935,7 +935,7 @@ void Game::handleActive(const SDL_Event &event) fpsLimit = config.getIntValue("fpslimit"); } } - Client::setFramerate(fpsLimit); + client->setFramerate(fpsLimit); mNextAdjustTime = cur_time + adjustDelay; #endif } @@ -992,7 +992,7 @@ void Game::handleInput() break; #ifdef ANDROID case SDL_KEYBOARDSHOW: - Client::updateScreenKeyboard(event.user.code); + client->updateScreenKeyboard(event.user.code); break; #endif default: |