diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-19 23:22:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-19 23:22:41 +0300 |
commit | 50658d0b86e7fcd0ea92449310b1dbcc75237267 (patch) | |
tree | 888e3c812b869995d13bd33cc0591d94ccade2e9 /src/game.cpp | |
parent | ce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152 (diff) | |
download | manaplus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.gz manaplus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.bz2 manaplus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.xz manaplus-50658d0b86e7fcd0ea92449310b1dbcc75237267.zip |
Block moving in storage is open.
Move some code from being to playerinfo.
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 9aad672da..e5a86f4a3 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -759,7 +759,7 @@ void Game::resetAdjustLevel() void Game::handleMove() { // Moving player around - if (player_node->isAlive() && !Being::isTalking() + if (player_node->isAlive() && !PlayerInfo::isTalking() && chatWindow && !chatWindow->isInputFocused() && !InventoryWindow::isAnyInputFocused() && !quitDialog) { |