diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 00:04:33 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-09-02 00:04:33 +0200 |
commit | abf87d7922ea9fde6720d26a67e2b8460690a3f3 (patch) | |
tree | af431d7b6879e71243a6ad6c9aefa9f0ec80c1b1 /src/Mobs/Behaviors/BehaviorWanderer.cpp | |
parent | Lambda merge fix (diff) | |
download | cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar.gz cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar.bz2 cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar.lz cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar.xz cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.tar.zst cuberite-abf87d7922ea9fde6720d26a67e2b8460690a3f3.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorWanderer.cpp')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorWanderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorWanderer.cpp b/src/Mobs/Behaviors/BehaviorWanderer.cpp index cc03d55cb..56316bd9f 100644 --- a/src/Mobs/Behaviors/BehaviorWanderer.cpp +++ b/src/Mobs/Behaviors/BehaviorWanderer.cpp @@ -39,7 +39,7 @@ bool cBehaviorWanderer::ControlStarting(std::chrono::milliseconds a_Dt, cChunk & { UNUSED(a_Dt); UNUSED(a_Chunk); - m_Parent->GetPathFinder().setDontCare(true); // We don't care we're we are going when + m_Parent->GetPathFinder().SetDontCare(true); // We don't care we're we are going when // wandering. If a path is not found, the pathfinder just modifies our destination. return true; } @@ -49,7 +49,7 @@ bool cBehaviorWanderer::ControlEnding(std::chrono::milliseconds a_Dt, cChunk & a { UNUSED(a_Dt); UNUSED(a_Chunk); - m_Parent->GetPathFinder().setDontCare(false); + m_Parent->GetPathFinder().SetDontCare(false); return true; } |