diff options
author | Bertram <bertram@cegetel.net> | 2010-01-27 01:46:58 +0100 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2010-01-27 01:46:58 +0100 |
commit | 572ed6a1aa6c847e8764bddf2bb0d687ecf1a405 (patch) | |
tree | f0183d944a3a887b359e2dc2895e87a9c2767e66 /src/localplayer.cpp | |
parent | 692aac3122843c59610684802e25b92cc9f0a33c (diff) | |
download | mana-client-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.gz mana-client-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.bz2 mana-client-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.xz mana-client-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.zip |
Added mutators/accessors to being.h and smal cleanups.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 79ea00af..8ea6af61 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -225,7 +225,7 @@ void LocalPlayer::logic() mTarget->setTargetAnimation( mTargetCursor[inRange][mTarget->getTargetCursorSize()]); - if (mTarget->mAction == DEAD) + if (!mTarget->isAlive()) stopAttack(); if (mKeepAttacking && mTarget) |