summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
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;