diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-12 23:28:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-12 23:28:27 +0300 |
commit | 767e9a19a27ecf4b7f5ea88e958c818fc56db9fd (patch) | |
tree | e82419f527c024fca37b9fa1f185b4607d893db0 /src/being | |
parent | cb462bb18da734c7d1e4023f6b5ba38e38678f6b (diff) | |
download | manaverse-767e9a19a27ecf4b7f5ea88e958c818fc56db9fd.tar.gz manaverse-767e9a19a27ecf4b7f5ea88e958c818fc56db9fd.tar.bz2 manaverse-767e9a19a27ecf4b7f5ea88e958c818fc56db9fd.tar.xz manaverse-767e9a19a27ecf4b7f5ea88e958c818fc56db9fd.zip |
Fix wrong moving to target if was used attack by mouse.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 9cf739d74..e2450610c 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -990,7 +990,7 @@ void LocalPlayer::setGotoTarget(Being *const target) mPickUpTarget = nullptr; setTarget(target); mGoingToTarget = true; - setDestination(target->mX, + navigateTo(target->mX, target->mY); } |