diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-10 02:15:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-10 02:15:26 +0300 |
commit | 881501a05400f58df76036e59313d08305c0b494 (patch) | |
tree | 32cfa073737d2e64577441c7b1d0b82e260b4c5b /src/localplayer.cpp | |
parent | 994ce665a9a32899a0f7efadf1253faa9a3cdbed (diff) | |
download | plus-881501a05400f58df76036e59313d08305c0b494.tar.gz plus-881501a05400f58df76036e59313d08305c0b494.tar.bz2 plus-881501a05400f58df76036e59313d08305c0b494.tar.xz plus-881501a05400f58df76036e59313d08305c0b494.zip |
Player range fix after previous commit.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8ab10b6da..f33a72bb0 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -98,7 +98,6 @@ extern SkillDialog *skillDialog; LocalPlayer::LocalPlayer(int id, int subtype): Being(id, PLAYER, subtype, 0), - mAttackRange(0), mTargetTime(-1), mLastTarget(-1), mTarget(NULL), @@ -130,6 +129,8 @@ LocalPlayer::LocalPlayer(int id, int subtype): { logger->log1("LocalPlayer::LocalPlayer"); + mAttackRange = 0; + listen(Mana::CHANNEL_ATTRIBUTES); mLevel = 1; |