]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/teleporters.qc
CSQC: use touch accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / teleporters.qc
index 68e006c2c097ab0d0b6b852a1b877435146ce72f..c4322e94382ed8de8b2cf20418c0935efac2e612 100644 (file)
@@ -280,12 +280,9 @@ void teleport_findtarget(entity this)
        }
 
        // now enable touch
-#ifdef SVQC
        settouch(this, Teleport_Touch);
-
+#ifdef SVQC
        trigger_teleport_link(this);
-#elif defined(CSQC)
-       this.move_touch = Teleport_Touch;
 #endif
 }