diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-09 18:17:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-09 18:17:50 +0300 |
commit | 4aeceabb5d4f00e2555234951a2f5db24b008265 (patch) | |
tree | 16e970611e7cc05352f18a9385b9e26c72d498d8 /src/game.cpp | |
parent | dd4d44a07d3a63ced0eec51c30b75887792c4a36 (diff) | |
download | mv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.gz mv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.bz2 mv-4aeceabb5d4f00e2555234951a2f5db24b008265.tar.xz mv-4aeceabb5d4f00e2555234951a2f5db24b008265.zip |
Improve perfomance in windows and popups visibility checks.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 7effc2e53..0fc4c36b1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -983,7 +983,7 @@ void Game::handleInput() // If pressed outfits keys, stop processing keys. if (inputManager.isActionActive(Input::KEY_WEAR_OUTFIT) || inputManager.isActionActive(Input::KEY_COPY_OUTFIT) - || (setupWindow && setupWindow->isVisible())) + || (setupWindow && setupWindow->isWindowVisible())) { BLOCK_END("Game::handleInput 1") return; |