diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 19:51:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 19:51:59 +0300 |
commit | 58c319a56a70588b59868099c659f70209a60be1 (patch) | |
tree | 8f964df390f54834bf3a6b4b9d2eeeec66d1b3f8 /src/progs/manaplus/actions/move.cpp | |
parent | 2bd61993e4b8cb190fbbbcf620f4901636404d48 (diff) | |
download | mv-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.cpp | 2 |
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; |