X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fwaypoints.qc;h=718f8a2fb08bf4397a3f9b63da32c3586a4d50d4;hp=bd920149b9e8a72f1d1840c48a6632e8a44ee510;hb=78b0634a8cfc4d1b6d24af825ac15d27d607e593;hpb=30e724fe1e818fa1a1e57250f260f7141f1f379b diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index bd920149b..718f8a2fb 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -354,6 +354,7 @@ void waypoint_schedulerelinkall() { waypoint_schedulerelink(it); }); + waypoint_load_links_hardwired(); } // Load waypoint links from file @@ -739,7 +740,7 @@ void waypoint_spawnforteleporter_boxes(entity e, vector org1, vector org2, vecto // the teleporter's nearest spawnfunc_waypoint is this one // (teleporters are not goals, so this is probably useless) e.nearestwaypoint = w; - e.nearestwaypointtimeout = time + 1000000000; + e.nearestwaypointtimeout = -1; } void waypoint_spawnforteleporter_v(entity e, vector org, vector destination, float timetaken)