summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-05 17:43:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-05 17:43:09 +0300
commit1cbf33d3e77b119aa0743551bd68ae0aa55d36c9 (patch)
treef698ad5c31ac88fe6d3af2827a5af6244068397f /src/commands.cpp
parente6e26d83c4aa11ab3c78fc1faa0da7c090358974 (diff)
downloadmv-1cbf33d3e77b119aa0743551bd68ae0aa55d36c9.tar.gz
mv-1cbf33d3e77b119aa0743551bd68ae0aa55d36c9.tar.bz2
mv-1cbf33d3e77b119aa0743551bd68ae0aa55d36c9.tar.xz
mv-1cbf33d3e77b119aa0743551bd68ae0aa55d36c9.zip
Remove function moveTo from LocalPlayer.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 985c9ae45..071b080a4 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -671,7 +671,7 @@ impHandler1(move)
int y = 0;
if (localPlayer && parse2Int(args, x, y))
- localPlayer->moveTo(x, y);
+ localPlayer->setDestination(x, y);
}
impHandler1(navigate)