]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/waypoints.qh
Merge branch 'terencehill/respawn_timer_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / waypoints.qh
index 8e0dd0fe627e07c1ecfc689da28454cf8280e8c9..23c0fa63c3b66a4c168a7bbb5cd12b55fc55c77a 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef WAYPOINTS_H
-#define WAYPOINTS_H
+#pragma once
 /*
  * Globals and Fields
  */
@@ -40,7 +39,7 @@ float botframe_cachedwaypointlinks;
 
 spawnfunc(waypoint);
 void waypoint_addlink(entity from, entity to);
-void waypoint_think();
+void waypoint_think(entity this);
 void waypoint_clearlinks(entity wp);
 void waypoint_schedulerelink(entity wp);
 
@@ -61,9 +60,8 @@ float waypoint_loadall();
 float waypoint_load_links();
 
 entity waypoint_spawn(vector m1, vector m2, float f);
-entity waypoint_spawnpersonal(vector position);
+entity waypoint_spawnpersonal(entity this, vector position);
 
 vector waypoint_fixorigin(vector position);
 
 void botframe_autowaypoints();
-#endif