diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index c840e456..7b797d5b 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -289,7 +289,7 @@ void Viewport::drawPath(Graphics *graphics, const Path &path) void Viewport::mousePressed(gcn::MouseEvent &event) { // Check if we are alive and kickin' - if (!mMap || !player_node || player_node->mAction == Being::DEAD) + if (!mMap || !player_node || !player_node->isAlive()) return; // Check if we are busy |