aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/MoveThroughVillageGoal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/MoveThroughVillageGoal.h')
-rw-r--r--Minecraft.World/MoveThroughVillageGoal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/MoveThroughVillageGoal.h b/Minecraft.World/MoveThroughVillageGoal.h
index a087e522..73b9bd9a 100644
--- a/Minecraft.World/MoveThroughVillageGoal.h
+++ b/Minecraft.World/MoveThroughVillageGoal.h
@@ -10,14 +10,14 @@ class MoveThroughVillageGoal : public Goal
{
private:
PathfinderMob *mob;
- float speed;
+ double speedModifier;
Path *path;
weak_ptr<DoorInfo> doorInfo;
bool onlyAtNight;
vector< weak_ptr<DoorInfo> > visited;
public:
- MoveThroughVillageGoal(PathfinderMob *mob, float speed, bool onlyAtNight);
+ MoveThroughVillageGoal(PathfinderMob *mob, double speedModifier, bool onlyAtNight);
~MoveThroughVillageGoal();
virtual bool canUse();