summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-03 21:48:18 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-03 21:48:18 +0000
commit15c79d151758a7756c9f1435cc0146dc649d421b (patch)
treedab89252d9b95302f5a12b7d5a0305b279857da7
parent05fb3209ba3f1389fb45bf7d46fd760138f0ec62 (diff)
downloadmana-15c79d151758a7756c9f1435cc0146dc649d421b.tar.gz
mana-15c79d151758a7756c9f1435cc0146dc649d421b.tar.bz2
mana-15c79d151758a7756c9f1435cc0146dc649d421b.tar.xz
mana-15c79d151758a7756c9f1435cc0146dc649d421b.zip
Don't start walking dead beings.
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 84ec6a58..9b936803 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -194,7 +194,7 @@ void Being::setPath(std::list<PATH_NODE> path)
{
this->path = path;
- if (action != WALK)
+ if (action != WALK && action != DEAD)
{
nextStep();
walk_time = tick_time;