]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_plats.qc
path_corner: run triggers for target2 to target4 when starting a move towards the...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_plats.qc
index f3afdf580c26b0ff2890ff28107c6c77ab1db964..97897d9cd717a2d2d5a1c7345544fae50f1d8080 100644 (file)
@@ -279,6 +279,12 @@ void train_next()
 
        if(self.noise != "")
                sound(self, CHAN_TRIGGER, self.noise, VOL_BASE, ATTN_IDLE);
+
+       entity oldself;
+       oldself = self;
+       self = targ;
+       SUB_UseTargets();
+       self = oldself;
 };
 
 void func_train_find()