diff options
author | Tametomo <irarice@gmail.com> | 2009-05-03 07:03:21 -0600 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-04 23:07:11 +0200 |
commit | bff1991e15c47bfc9f96435bb072686565bcd602 (patch) | |
tree | ecfeb746fd4f0890ad40a8ac12174b7f6eaaa4ed /src/localplayer.cpp | |
parent | 15763d860130b85e95e0617aa1a7e55d98669d6f (diff) | |
download | mana-bff1991e15c47bfc9f96435bb072686565bcd602.tar.gz mana-bff1991e15c47bfc9f96435bb072686565bcd602.tar.bz2 mana-bff1991e15c47bfc9f96435bb072686565bcd602.tar.xz mana-bff1991e15c47bfc9f96435bb072686565bcd602.zip |
Fixed seemingly random attacks from occuring once a target is put up.
This was due to an uninitialized variable.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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), |