]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/gamestart.qc
Merge branch 'master' into martin-t/echo
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / gamestart.qc
diff --git a/qcsrc/common/triggers/trigger/gamestart.qc b/qcsrc/common/triggers/trigger/gamestart.qc
deleted file mode 100644 (file)
index 72d76d1..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "gamestart.qh"
-#ifdef SVQC
-void gamestart_use(entity this, entity actor, entity trigger)
-{
-       SUB_UseTargets(this, this, trigger);
-       delete(this);
-}
-
-void gamestart_use_this(entity this)
-{
-       gamestart_use(this, NULL, NULL);
-}
-
-spawnfunc(trigger_gamestart)
-{
-       this.use = gamestart_use;
-       this.reset2 = spawnfunc_trigger_gamestart;
-
-       if(this.wait)
-       {
-               setthink(this, adaptor_think2use);
-               this.nextthink = game_starttime + this.wait;
-       }
-       else
-               InitializeEntity(this, gamestart_use_this, INITPRIO_FINDTARGET);
-}
-
-#endif