aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/PathNavigation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/PathNavigation.cpp')
-rw-r--r--Minecraft.World/PathNavigation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/PathNavigation.cpp b/Minecraft.World/PathNavigation.cpp
index 2bf01672..30140712 100644
--- a/Minecraft.World/PathNavigation.cpp
+++ b/Minecraft.World/PathNavigation.cpp
@@ -92,13 +92,13 @@ bool PathNavigation::moveTo(double x, double y, double z, float speed)
return moveTo(newPath, speed);
}
-Path *PathNavigation::createPath(shared_ptr<Mob> target)
+Path *PathNavigation::createPath(std::shared_ptr<Mob> target)
{
if (!canUpdatePath()) return NULL;
return level->findPath(mob->shared_from_this(), target, maxDist, _canPassDoors, _canOpenDoors, avoidWater, canFloat);
}
-bool PathNavigation::moveTo(shared_ptr<Mob> target, float speed)
+bool PathNavigation::moveTo(std::shared_ptr<Mob> target, float speed)
{
MemSect(53);
Path *newPath = createPath(target);