X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fwaypoints.qc;h=c48545e5aa2c922e60a7503b6c4103a4f8842221;hb=72d3dea2617743a60d67fe3b87e4a71a3557bc3a;hp=076e969685e2c30fde561aeaddec6eab7e090420;hpb=e621c3ae269746abe26fdc553a0a8fb79954efc2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/waypoints.qc b/qcsrc/server/bot/waypoints.qc index 076e96968..c48545e5a 100644 --- a/qcsrc/server/bot/waypoints.qc +++ b/qcsrc/server/bot/waypoints.qc @@ -411,10 +411,10 @@ float waypoint_load_links() if(!found) { - // can't find that waypoint - fclose(file); - return FALSE; + dprint("waypoint_load_links: couldn't find 'from' waypoint at ", vtos(wp_from.origin),"\n"); + continue; } + } // Search "to" waypoint @@ -433,9 +433,8 @@ float waypoint_load_links() if(!found) { - // can't find that waypoint - fclose(file); - return FALSE; + dprint("waypoint_load_links: couldn't find 'to' waypoint at ", vtos(wp_to.origin),"\n"); + continue; } ++c;