summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
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)