From d51efb148feef39b5ae38924371e636118f6b361 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 28 Jul 2005 15:14:22 +0000 Subject: Added an action enumeration to th Being class and removed the old #define's. --- src/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/gui.cpp') 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(); -- cgit v1.2.3-70-g09d2