aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/MoveTowardsRestrictionGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/MoveTowardsRestrictionGoal.h')
-rw-r--r--Minecraft.World/MoveTowardsRestrictionGoal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/MoveTowardsRestrictionGoal.h b/Minecraft.World/MoveTowardsRestrictionGoal.h
index 859b5ee8..f2864a9b 100644
--- a/Minecraft.World/MoveTowardsRestrictionGoal.h
+++ b/Minecraft.World/MoveTowardsRestrictionGoal.h
@@ -7,10 +7,10 @@ class MoveTowardsRestrictionGoal : public Goal
private:
PathfinderMob *mob;
double wantedX, wantedY, wantedZ;
- float speed;
+ double speedModifier;
public:
- MoveTowardsRestrictionGoal(PathfinderMob *mob, float speed);
+ MoveTowardsRestrictionGoal(PathfinderMob *mob, double speedModifier);
bool canUse();
bool canContinueToUse();