diff options
Diffstat (limited to 'src/Mobs/PathFinder.cpp')
-rw-r--r-- | src/Mobs/PathFinder.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Mobs/PathFinder.cpp b/src/Mobs/PathFinder.cpp index 9e63b7362..5356cedfe 100644 --- a/src/Mobs/PathFinder.cpp +++ b/src/Mobs/PathFinder.cpp @@ -8,13 +8,12 @@ -cPathFinder::cPathFinder(double a_MobWidth, double a_MobHeight) : - m_Path(), +cPathFinder::cPathFinder(float a_MobWidth, float a_MobHeight) : + m_Width(a_MobWidth), + m_Height(a_MobHeight), m_GiveUpCounter(0), m_NotFoundCooldown(0) { - m_Width = a_MobWidth; - m_Height = a_MobHeight; } |