aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/SwellGoal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/SwellGoal.cpp')
-rw-r--r--Minecraft.World/SwellGoal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/SwellGoal.cpp b/Minecraft.World/SwellGoal.cpp
index 9065ba16..289ada73 100644
--- a/Minecraft.World/SwellGoal.cpp
+++ b/Minecraft.World/SwellGoal.cpp
@@ -15,7 +15,7 @@ SwellGoal::SwellGoal(Creeper *creeper)
bool SwellGoal::canUse()
{
- shared_ptr<Mob> target = creeper->getTarget();
+ std::shared_ptr<Mob> target = creeper->getTarget();
return creeper->getSwellDir() > 0 || (target != NULL && (creeper->distanceToSqr(target) < 3 * 3));
}