diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-13 23:49:27 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-13 23:49:27 +0200 |
commit | fdabfd77e22397e149740bb5cb09a2f77805f05f (patch) | |
tree | 3e4ee70220e45bd7359febe0e3191430d2c8b7fa /src/Mobs | |
parent | Entities experience water resistance (diff) | |
download | cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.gz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.bz2 cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.lz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.xz cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.tar.zst cuberite-fdabfd77e22397e149740bb5cb09a2f77805f05f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 7e40794b1..81acf1a93 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -283,7 +283,7 @@ void cMonster::Tick(float a_Dt, cChunk & a_Chunk) } } - Vector3f Distance = m_Destination - GetPosition(); + Vector3d Distance = m_Destination - GetPosition(); if (!ReachedDestination() && !ReachedFinalDestination()) // If we haven't reached any sort of destination, move { Distance.y = 0; |