diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-25 06:38:56 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-25 06:38:56 +0200 |
commit | fbf5163a75fd85cdef16f29792a11cd988c57667 (patch) | |
tree | 7258ff1fbaa384993d9abc36f9decba505bf597a /src/Mobs/Monster.cpp | |
parent | Fully working cows (diff) | |
download | cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar.gz cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar.bz2 cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar.lz cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar.xz cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.tar.zst cuberite-fbf5163a75fd85cdef16f29792a11cd988c57667.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 4ea80dee4..be240d55c 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -417,7 +417,7 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { // mobToDo fix dont care // Note that m_NextWayPointPosition is actually returned by GetNextWayPoint) - switch (m_PathFinder.GetNextWayPoint(*Chunk, GetPosition(), &m_FinalDestination, &m_NextWayPointPosition, false)) + switch (m_PathFinder.GetNextWayPoint(*Chunk, GetPosition(), &m_FinalDestination, &m_NextWayPointPosition, true)) { case ePathFinderStatus::PATH_FOUND: { @@ -477,7 +477,6 @@ void cMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) m_World->BroadcastEntityMetadata(*this); } } - LOGD("mobDebug - Monster tick ends"); } |