From 92e2ab55d9ceeedcf15857221c789523ac26b329 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Mon, 14 Aug 2023 20:42:07 -0700 Subject: [PATCH] Update MovementAIComponent.cpp --- dGame/dComponents/MovementAIComponent.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/dGame/dComponents/MovementAIComponent.cpp b/dGame/dComponents/MovementAIComponent.cpp index 0e2880fe..88372251 100644 --- a/dGame/dComponents/MovementAIComponent.cpp +++ b/dGame/dComponents/MovementAIComponent.cpp @@ -337,7 +337,6 @@ void MovementAIComponent::SetPath(std::vector path, bool startInRevers if (HasAttachedPathStart()) { m_CurrentPathWaypointIndex = m_StartingWaypointIndex; m_NextPathWaypointIndex = m_StartingWaypointIndex; - m_Parent->SetPosition(m_CurrentPath.at(m_CurrentPathWaypointIndex)); } AdvancePathWaypointIndex();