]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/target/spawnpoint.qc
Rename triggers to mapobjects
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / spawnpoint.qc
diff --git a/qcsrc/common/triggers/target/spawnpoint.qc b/qcsrc/common/triggers/target/spawnpoint.qc
deleted file mode 100644 (file)
index fe15385..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "spawnpoint.qh"
-
-#ifdef SVQC
-void target_spawnpoint_use(entity this, entity actor, entity trigger)
-{
-       if(this.active != ACTIVE_ACTIVE)
-               return;
-
-       actor.spawnpoint_targ = this;
-}
-
-void target_spawnpoint_reset(entity this)
-{
-       this.active = ACTIVE_ACTIVE;
-}
-
-// TODO: persistent spawnflag?
-spawnfunc(target_spawnpoint)
-{
-       this.active = ACTIVE_ACTIVE;
-       this.use = target_spawnpoint_use;
-       this.reset = target_spawnpoint_reset;
-}
-#endif