diff --git a/src/ui/WaypointList.cc b/src/ui/WaypointList.cc index ef6d17498985019bca112b271ec9ec08872c722c..11e1a0ee3fcca5b8b37c115e9705cf3c9fae0bce 100644 --- a/src/ui/WaypointList.cc +++ b/src/ui/WaypointList.cc @@ -169,7 +169,7 @@ void WaypointList::add() if (waypoints.size() > 0) { Waypoint *last = waypoints.at(waypoints.size()-1); - addWaypoint(new Waypoint(waypoints.size(), last->getX(), last->getY(), last->getZ(), last->getYaw(), last->getAutoContinue(), last->getCurrent(), last->getOrbit(), last->getHoldTime())); + addWaypoint(new Waypoint(waypoints.size(), last->getX(), last->getY(), last->getZ(), last->getYaw(), last->getAutoContinue(), false, last->getOrbit(), last->getHoldTime())); } else {