#include "waypoints.qh"
-#include "../_all.qh"
#include "bot.qh"
#include "navigation.qh"
#include "../../common/constants.qh"
-#include "../../warpzonelib/util_server.qh"
+#include "../../lib/warpzone/common.qh"
+#include "../../lib/warpzone/util_server.qh"
// create a new spawnfunc_waypoint and automatically link it to other waypoints, and link
// them back to it as well
}
// spawnfunc_waypoint map entity
-void spawnfunc_waypoint()
-{SELFPARAM();
+spawnfunc(waypoint)
+{
setorigin(self, self.origin);
// schedule a relink after other waypoints have had a chance to spawn
waypoint_clearlinks(self);