summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions/move.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 19:51:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 19:51:59 +0300
commit58c319a56a70588b59868099c659f70209a60be1 (patch)
tree8f964df390f54834bf3a6b4b9d2eeeec66d1b3f8 /src/progs/manaplus/actions/move.cpp
parent2bd61993e4b8cb190fbbbcf620f4901636404d48 (diff)
downloadmv-58c319a56a70588b59868099c659f70209a60be1.tar.gz
mv-58c319a56a70588b59868099c659f70209a60be1.tar.bz2
mv-58c319a56a70588b59868099c659f70209a60be1.tar.xz
mv-58c319a56a70588b59868099c659f70209a60be1.zip
Remove default parameters from localplayer.
Diffstat (limited to 'src/progs/manaplus/actions/move.cpp')
-rw-r--r--src/progs/manaplus/actions/move.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/manaplus/actions/move.cpp b/src/progs/manaplus/actions/move.cpp
index d2be4de7e..ea4088f61 100644
--- a/src/progs/manaplus/actions/move.cpp
+++ b/src/progs/manaplus/actions/move.cpp
@@ -176,7 +176,7 @@ impHandler0(moveToTarget)
!inputManager.isActionActive(InputAction::TARGET_ATTACK) &&
!inputManager.isActionActive(InputAction::ATTACK))
{
- localPlayer->moveToTarget();
+ localPlayer->moveToTarget(-1);
return true;
}
return false;