diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 2aae199e..20f6b6a7 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -116,6 +116,11 @@ void LocalPlayer::nextStep() mPath.clear(); return; } + else if (mGoingToTarget && !mTarget) + { + mGoingToTarget = false; + mPath.clear(); + } Player::nextStep(); } |