summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-19 23:22:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-19 23:22:41 +0300
commit50658d0b86e7fcd0ea92449310b1dbcc75237267 (patch)
tree888e3c812b869995d13bd33cc0591d94ccade2e9 /src/game.cpp
parentce234e915f6ee5557e6cc00b6aa9fd9b3bdbc152 (diff)
downloadplus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.gz
plus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.bz2
plus-50658d0b86e7fcd0ea92449310b1dbcc75237267.tar.xz
plus-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.cpp2
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)
{