From 249673c3ae86e2e91d12e8fb501c6356100036b3 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 12 Feb 2012 23:06:26 +0100 Subject: Made the client not stop the target attack once in range. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-70-g09d2