(svn r6285) -Fix r6143: of course deleting a waypoint should call the Delete wrapper, not the Destroy function (/me slaps hisself)

This commit is contained in:
truelight 2006-08-31 19:29:24 +00:00
parent 53227e29f8
commit 0574bcb46d
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ void WaypointsDailyLoop(void)
/* Check if we need to delete a waypoint */
FOR_ALL_WAYPOINTS(wp) {
if (wp->deleted != 0 && --wp->deleted == 0) DestroyWaypoint(wp);
if (wp->deleted != 0 && --wp->deleted == 0) DeleteWaypoint(wp);
}
}