mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
remove hard coded start
This commit is contained in:
parent
b659edd980
commit
959d19c8eb
@ -74,7 +74,6 @@ void MovementAIComponent::SetupPath(const std::string& pathname) {
|
|||||||
m_Parent->GetLOT(), m_Parent->GetObjectID());
|
m_Parent->GetLOT(), m_Parent->GetObjectID());
|
||||||
m_StartingWaypointIndex = 0;
|
m_StartingWaypointIndex = 0;
|
||||||
}
|
}
|
||||||
if (m_Parent->GetLOT() == 12215) m_StartingWaypointIndex = 3;
|
|
||||||
std::vector<NiPoint3> waypoints;
|
std::vector<NiPoint3> waypoints;
|
||||||
for (auto& waypoint : m_Path->pathWaypoints) {
|
for (auto& waypoint : m_Path->pathWaypoints) {
|
||||||
waypoints.push_back(waypoint.position);
|
waypoints.push_back(waypoint.position);
|
||||||
|
Loading…
Reference in New Issue
Block a user