aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/TemptGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/TemptGoal.h')
-rw-r--r--Minecraft.World/TemptGoal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/TemptGoal.h b/Minecraft.World/TemptGoal.h
index 78fbe1d8..898264e1 100644
--- a/Minecraft.World/TemptGoal.h
+++ b/Minecraft.World/TemptGoal.h
@@ -6,7 +6,7 @@ class TemptGoal : public Goal
{
private:
PathfinderMob *mob;
- float speed;
+ double speedModifier;
double px, py, pz, pRotX, pRotY;
weak_ptr<Player> player;
int calmDown ;
@@ -16,7 +16,7 @@ private:
bool oldAvoidWater;
public:
- TemptGoal(PathfinderMob *mob, float speed, int itemId, bool canScare);
+ TemptGoal(PathfinderMob *mob, double speedModifier, int itemId, bool canScare);
bool canUse();
bool canContinueToUse();