X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fwaypoints.qc;fp=qcsrc%2Fserver%2Fbot%2Fwaypoints.qc;h=2f0b425399560f77a4df0efe89d322a5a874cc7f;hp=bba6a1b9e2a7084b1fb9a1ad06a2a975c57b7596;hb=daab9330abb8952053b47239d1322cd029b08cd1;hpb=37dfbfc77bea086b24dc33a35464700fdb92d3db diff --git a/qcsrc/server/bot/waypoints.qc b/qcsrc/server/bot/waypoints.qc index bba6a1b9e..2f0b42539 100644 --- a/qcsrc/server/bot/waypoints.qc +++ b/qcsrc/server/bot/waypoints.qc @@ -289,7 +289,7 @@ void waypoint_schedulerelink(entity wp) if (!(wp.wpflags & WAYPOINTFLAG_NORELINK)) waypoint_clearlinks(wp); // schedule an actual relink on next frame - wp.think = waypoint_think; + setthink(wp, waypoint_think); wp.nextthink = time; wp.effects = EF_LOWPRECISION; }