]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/target/kill.qc
Rename triggers to mapobjects
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / kill.qc
diff --git a/qcsrc/common/triggers/target/kill.qc b/qcsrc/common/triggers/target/kill.qc
deleted file mode 100644 (file)
index 2751c60..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "kill.qh"
-#include "location.qh"
-#ifdef SVQC
-
-void target_kill_use(entity this, entity actor, entity trigger)
-{
-       if(actor.takedamage == DAMAGE_NO)
-               return;
-
-       if(!actor.iscreature && !actor.damagedbytriggers)
-               return;
-
-       Damage(actor, this, trigger, 1000, DEATH_HURTTRIGGER.m_id, DMG_NOWEP, actor.origin, '0 0 0');
-}
-
-spawnfunc(target_kill)
-{
-    this.classname = "target_kill";
-
-    if (this.message == "")
-               this.message = "was in the wrong place";
-
-    this.use = target_kill_use;
-}
-
-#endif