summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-12 23:06:26 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-12 23:14:28 +0100
commit249673c3ae86e2e91d12e8fb501c6356100036b3 (patch)
tree7a4a2ef75cf84c1a37a1d4ef2ee368cb2721a974
parent2481244fcf20ed19ab317b76ff91285f93ba6bd8 (diff)
downloadmana-249673c3ae86e2e91d12e8fb501c6356100036b3.tar.gz
mana-249673c3ae86e2e91d12e8fb501c6356100036b3.tar.bz2
mana-249673c3ae86e2e91d12e8fb501c6356100036b3.tar.xz
mana-249673c3ae86e2e91d12e8fb501c6356100036b3.zip
Made the client not stop the target attack once in range.
This was improperly done because of possible differences in the actual victim position, due to server lag. Spotted-by: cody Reviewed-by: Thorbjørn Lindeijer
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 92fea956..d37c1364 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -174,7 +174,7 @@ void LocalPlayer::logic()
mGoingToTarget = false;
}
}
- else if (withinAttackRange && mKeepAttacking)
+ else if (mKeepAttacking)
{
attack(mTarget, true);
}