summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
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 427f70b6..0cc59ff6 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -905,7 +905,7 @@ void Game::handleInput()
return;
// Moving player around
- if (player_node->mAction != Being::DEAD && current_npc == 0 &&
+ if (player_node->isAlive() && current_npc == 0 &&
!chatWindow->isInputFocused() && !quitDialog)
{
// Get the state of the keyboard keys