From bff1991e15c47bfc9f96435bb072686565bcd602 Mon Sep 17 00:00:00 2001 From: Tametomo Date: Sun, 3 May 2009 07:03:21 -0600 Subject: Fixed seemingly random attacks from occuring once a target is put up. This was due to an uninitialized variable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tametomo Signed-off-by: Bjørn Lindeijer --- src/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/localplayer.cpp') diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 017668dc..11c142cc 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -115,7 +115,7 @@ LocalPlayer::LocalPlayer(int id, int job, Map *map): mTotalWeight(1), mMaxWeight(1), mHp(1), mMaxHp(1), mTarget(NULL), mPickUpTarget(NULL), - mTrading(false), mGoingToTarget(false), + mTrading(false), mGoingToTarget(false), mKeepAttacking(false), mLastAction(-1), mWalkingDir(0), mDestX(0), mDestY(0), -- cgit v1.2.3-70-g09d2