diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-18 21:48:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-18 21:48:33 +0300 |
commit | 5583ed6cb475a3fbc717f717971f0887ecc0226a (patch) | |
tree | 9203a4497e3185b8bb437ee7f58406409f477ebf /src/game.cpp | |
parent | c0bced1e7d5984d162a53455d474bb16154ed386 (diff) | |
download | manaplus-5583ed6cb475a3fbc717f717971f0887ecc0226a.tar.gz manaplus-5583ed6cb475a3fbc717f717971f0887ecc0226a.tar.bz2 manaplus-5583ed6cb475a3fbc717f717971f0887ecc0226a.tar.xz manaplus-5583ed6cb475a3fbc717f717971f0887ecc0226a.zip |
Fix half away state.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp index d82f13913..81f987376 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1366,11 +1366,9 @@ void Game::handleInput() { // window restore Client::setIsMinimized(false); if (!player_node && !player_node->getAwayMode()) - { fpsLimit = config.getIntValue("fpslimit"); - if (player_node) - player_node->setHalfAway(false); - } + if (player_node) + player_node->setHalfAway(false); } else { // window minimisation |