From bd15dca49554b66c2921f99bbc0a5e5494019898 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Tue, 28 Oct 2008 19:50:23 +0000 Subject: Fixed a fast walking bug that was caused by a state conflict where the keys would tell the client to attack and stop attacking all at the same time. Thanks to SoftLace for reporting it. --- src/localplayer.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 87a4f81b..ee73b673 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -29,7 +29,6 @@ #include "game.h" #include "inventory.h" #include "item.h" -#include "keyboardconfig.h" #include "main.h" #include "monster.h" #include "particle.h" @@ -130,11 +129,6 @@ void LocalPlayer::logic() mLastTarget = -1; } - if (keyboard.isKeyActive(keyboard.KEY_TARGET)) - { - stopAttack(); - } - if (mTarget) { if (mTarget->mAction == DEAD) -- cgit v1.2.3-70-g09d2