diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-06 17:09:16 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 23:35:07 +0200 |
commit | 6e80f7544d786443d3028308e244b04dd8d5abcb (patch) | |
tree | 7d9cd372cefa110a4a7c14078a04e9829cba00f4 /src/Mobs/PathFinder.cpp | |
parent | Streamline player abilities handling (diff) | |
download | cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.gz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.bz2 cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.lz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.xz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.zst cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.zip |
Diffstat (limited to '')
-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; } |