mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Refactored variable/object references to reflect changes in path creation/edit waypoint menus.
This commit is contained in:
parent
526ff83f90
commit
d36c7fb012
4 changed files with 42 additions and 38 deletions
|
|
@ -86,7 +86,7 @@ namespace SceneManager
|
|||
{
|
||||
if (i != Waypoints.Count - 1)
|
||||
{
|
||||
if (Waypoints[i + 1].DrivingFlag == VehicleDrivingFlags.StopAtDestination)
|
||||
if (Waypoints[i + 1].IsStopWaypoint)
|
||||
{
|
||||
Debug.DrawLine(Waypoints[i].Position, Waypoints[i + 1].Position, Color.Orange);
|
||||
}
|
||||
|
|
@ -101,7 +101,5 @@ namespace SceneManager
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue