Update MovementAIComponent.cpp

This commit is contained in:
David Markowitz 2023-08-14 20:42:07 -07:00
parent 959d19c8eb
commit 92e2ab55d9

View File

@ -337,7 +337,6 @@ void MovementAIComponent::SetPath(std::vector<NiPoint3> path, bool startInRevers
if (HasAttachedPathStart()) {
m_CurrentPathWaypointIndex = m_StartingWaypointIndex;
m_NextPathWaypointIndex = m_StartingWaypointIndex;
m_Parent->SetPosition(m_CurrentPath.at(m_CurrentPathWaypointIndex));
}
AdvancePathWaypointIndex();