summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PathFinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/PathFinder.h')
-rw-r--r--src/Mobs/PathFinder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/PathFinder.h b/src/Mobs/PathFinder.h
index 213530b11..a4843744a 100644
--- a/src/Mobs/PathFinder.h
+++ b/src/Mobs/PathFinder.h
@@ -16,7 +16,7 @@ public:
@param a_MobWidth The mob width.
@param a_MobHeight The mob height.
*/
- cPathFinder(double a_MobWidth, double a_MobHeight);
+ cPathFinder(float a_MobWidth, float a_MobHeight);
/** Updates the PathFinder's internal state and returns a waypoint.
A waypoint is a coordinate which the mob can safely move to from its current position in a straight line.
@@ -41,10 +41,10 @@ public:
private:
/** The width of the Mob which owns this PathFinder. */
- double m_Width;
+ float m_Width;
/** The height of the Mob which owns this PathFinder. */
- double m_Height;
+ float m_Height;
/** The current cPath instance we have. This is discarded and recreated when a path recalculation is needed. */
std::unique_ptr<cPath> m_Path;