summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 7fdbc09b..292f70e0 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -30,6 +30,7 @@
#include "monster.h"
#include "particle.h"
#include "sound.h"
+#include "monster.h"
#include "gui/gui.h"
@@ -508,9 +509,9 @@ void LocalPlayer::stopAttack()
{
setAction(STAND);
mLastTarget = -1;
- setTarget(NULL);
- mLastTarget = -1;
}
+ setTarget(NULL);
+ mLastTarget = -1;
}
Being* LocalPlayer::getTarget() const