diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-05-16 22:33:20 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-05-16 22:33:20 -0400 |
commit | a6ad03efc6223a46cc8336eaf43119fb346d7195 (patch) | |
tree | a82b96fd1f2161276b8a1afc1bd6562a6cc7010c /src/localplayer.cpp | |
parent | 98eadea1f98f76237701d2ac44868847a18d13c2 (diff) | |
download | mana-a6ad03efc6223a46cc8336eaf43119fb346d7195.tar.gz mana-a6ad03efc6223a46cc8336eaf43119fb346d7195.tar.bz2 mana-a6ad03efc6223a46cc8336eaf43119fb346d7195.tar.xz mana-a6ad03efc6223a46cc8336eaf43119fb346d7195.zip |
Fixes the lightspeed bug
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 650de182..e9bc30f2 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -727,10 +727,10 @@ void LocalPlayer::stopAttack() { if (mTarget) { - setAction(STAND); - mLastTarget = -1; + if (mAction == ATTACK) + setAction(STAND); + setTarget(NULL); } - setTarget(NULL); mLastTarget = -1; } |