X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fwaypoints.qc;h=957f2478d2e44a6f20ac2f0badf84d2460b69884;hp=ca209f9ca7ab4877c3ef0036c2d3756cf076a06f;hb=1c758278958da8f2baf1f39cd0f298d5bda097a2;hpb=1556aa4ea70b3b275afb1cb4587e555fb44f71c3 diff --git a/qcsrc/server/bot/waypoints.qc b/qcsrc/server/bot/waypoints.qc index ca209f9ca..957f2478d 100644 --- a/qcsrc/server/bot/waypoints.qc +++ b/qcsrc/server/bot/waypoints.qc @@ -162,7 +162,7 @@ void waypoint_addlink(entity from, entity to) // (precompile a list of all reachable waypoints from this spawnfunc_waypoint) // (SLOW!) void waypoint_think() -{ +{SELFPARAM(); entity e; vector sv, sm1, sm2, ev, em1, em2, dv; @@ -294,7 +294,7 @@ void waypoint_schedulerelink(entity wp) // spawnfunc_waypoint map entity void spawnfunc_waypoint() -{ +{SELFPARAM(); setorigin(self, self.origin); // schedule a relink after other waypoints have had a chance to spawn waypoint_clearlinks(self); @@ -808,7 +808,7 @@ void waypoint_spawnforteleporter(entity e, vector destination, float timetaken) } entity waypoint_spawnpersonal(vector position) -{ +{SELFPARAM(); entity w; // drop the waypoint to a proper location: