summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-27 07:19:11 +0000
committerIra Rice <irarice@gmail.com>2008-10-27 07:19:11 +0000
commitf3beda85b284e57caf6e5c685174bcb2e608d9ce (patch)
tree4bf00df16995bf6316581a7ae64e2de805dfcd08 /src/being.cpp
parent8057f36623788c1d675e0311d98362b7d1d9f892 (diff)
downloadmana-f3beda85b284e57caf6e5c685174bcb2e608d9ce.tar.gz
mana-f3beda85b284e57caf6e5c685174bcb2e608d9ce.tar.bz2
mana-f3beda85b284e57caf6e5c685174bcb2e608d9ce.tar.xz
mana-f3beda85b284e57caf6e5c685174bcb2e608d9ce.zip
Revised code so that dead sprites are de-targeted.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp
index c4569d4e..db8b18e6 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -238,6 +238,7 @@ void Being::controlParticle(Particle *particle)
void Being::setAction(Action action)
{
SpriteAction currentAction = ACTION_INVALID;
+
switch (action)
{
case WALK: