Removed accidentally left debug thing.

This commit is contained in:
Dmitry 2019-05-11 01:18:29 +03:00 committed by jeefo
commit c793ab9ee1
2 changed files with 1 additions and 2 deletions

View file

@ -840,7 +840,7 @@ void Waypoint::erase (int target) {
}
int index = (target == INVALID_WAYPOINT_INDEX) ? getEditorNeareset () : target;
if (index == INVALID_WAYPOINT_INDEX) {
if (!exists (index)) {
return;
}