aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FleeSunGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FleeSunGoal.h')
-rw-r--r--Minecraft.World/FleeSunGoal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/FleeSunGoal.h b/Minecraft.World/FleeSunGoal.h
index 9d26c9f6..18f384c4 100644
--- a/Minecraft.World/FleeSunGoal.h
+++ b/Minecraft.World/FleeSunGoal.h
@@ -7,11 +7,11 @@ class FleeSunGoal : public Goal
private:
PathfinderMob *mob; // Owner of this goal
double wantedX, wantedY, wantedZ;
- float speed;
+ double speedModifier;
Level *level;
public:
- FleeSunGoal(PathfinderMob *mob, float speed);
+ FleeSunGoal(PathfinderMob *mob, double speedModifier);
virtual bool canUse();
virtual bool canContinueToUse();