summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 15:14:22 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-07-28 15:14:22 +0000
commitd51efb148feef39b5ae38924371e636118f6b361 (patch)
treeb79b1523ba9b2816d71eeb2f7c099f07f0e0b4fb /src/gui/gui.cpp
parent51b75feaefd132ee0b7992a10dbe79bfa92e6d91 (diff)
downloadmana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.gz
mana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.bz2
mana-client-d51efb148feef39b5ae38924371e636118f6b361.tar.xz
mana-client-d51efb148feef39b5ae38924371e636118f6b361.zip
Added an action enumeration to th Being class and removed the old #define's.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 737b880c..996eb5b1 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -248,7 +248,7 @@ void Gui::mousePress(int mx, int my, int button)
// Mouse pressed on window container (basically, the map)
// When conditions for walking are met, set new player destination
- if (player_node && player_node->action != DEAD && current_npc == 0 &&
+ if (player_node && player_node->action != Being::DEAD && current_npc == 0 &&
button == gcn::MouseInput::LEFT)
{
Map *tiledMap = engine->getCurrentMap();