From 4aeceabb5d4f00e2555234951a2f5db24b008265 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Apr 2013 18:17:50 +0300 Subject: Improve perfomance in windows and popups visibility checks. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-60-g2f50