summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localplayer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 4bbb8dc5..1e790d44 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -131,14 +131,6 @@ void LocalPlayer::logic()
if (get_elapsed_time(mLastTarget) >= 250)
mLastTarget = -1;
- // Remove target if its been on a being for more than a minute
- if (get_elapsed_time(mTargetTime) >= 60000)
- {
- mTargetTime = -1;
- setTarget(NULL);
- mLastTarget = -1;
- }
-
if (mTarget)
{
if (mTarget->getType() == ActorSprite::NPC)