]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/train.qc
Propagate this
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / train.qc
index 77bb7b87090b4e093180c0b1ec0cf2cb2fa205c1..26ecc81f148411626551012622434f73a024f361 100644 (file)
@@ -5,7 +5,7 @@ void train_use();
 #endif
 void train_wait()
 {SELFPARAM();
-       WITH(entity, self, self.enemy, SUB_UseTargets());
+       WITHSELF(self.enemy, SUB_UseTargets());
        self.enemy = world;
 
        // if turning is enabled, the train will turn toward the next point while waiting