From 9bd939dc985be53eee675a22e91f43e3b9b6edca Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Thu, 31 Aug 2017 13:54:57 +0300 Subject: Pathfinder DontCare now a member variable --- src/Mobs/Behaviors/BehaviorWanderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Mobs/Behaviors') diff --git a/src/Mobs/Behaviors/BehaviorWanderer.cpp b/src/Mobs/Behaviors/BehaviorWanderer.cpp index 309883c01..a37609aa4 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_OldDontCare = m_Parent->GetPathFinder().getDontCare(true); + m_OldDontCare = m_Parent->GetPathFinder().getDontCare(); 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; -- cgit v1.2.3