diff options
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 afd7f0eb..c68be7a8 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -526,7 +526,7 @@ void LocalPlayer::setTarget(Being *target) mLastTarget = tick_time; if (target == mTarget) - target = NULL; + return; if (target || mAction == ATTACK) { |