mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +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