]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/misc/follow.qc
Merge branch 'master' into Mirio/balance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / misc / follow.qc
index aace4531ede9fe229b7b7bd817ba91018e17b442..2ac304a212d08fbfaa28183353538040cee7716f 100644 (file)
@@ -1,5 +1,7 @@
+// the way this entity works makes it no use to CSQC, as it removes itself instantly
+
 #ifdef SVQC
-void follow_init()
+void follow_init(entity this)
 {
        entity src, dst;
        src = world;
@@ -60,7 +62,7 @@ void follow_init()
        }
 }
 
-void spawnfunc_misc_follow()
+spawnfunc(misc_follow)
 {
        InitializeEntity(self, follow_init, INITPRIO_FINDTARGET);
 }