From 1cbf33d3e77b119aa0743551bd68ae0aa55d36c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Aug 2014 17:43:09 +0300 Subject: Remove function moveTo from LocalPlayer. --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') 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) -- cgit v1.2.3-70-g09d2