From 6e80f7544d786443d3028308e244b04dd8d5abcb Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 6 Apr 2021 16:09:16 +0100 Subject: Update entity sizes --- src/Mobs/PathFinder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Mobs/PathFinder.h') 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 m_Path; -- cgit v1.2.3