mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 22:13:35 +00:00
Update MovementAIComponent.cpp
This commit is contained in:
parent
959d19c8eb
commit
92e2ab55d9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user