]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix visible teleporters (was a side effect of disabling prediction)
authorMario <mario@smbclan.net>
Wed, 9 Mar 2016 03:41:03 +0000 (13:41 +1000)
committerMario <mario@smbclan.net>
Wed, 9 Mar 2016 03:41:03 +0000 (13:41 +1000)
qcsrc/common/triggers/trigger/teleport.qc

index 66e0e6305b3029a97a115bc3b99539e664b3d6fc..3b4dbb489a7b31455c1b2d29b6dc12f1dfb1b277 100644 (file)
@@ -83,7 +83,8 @@ spawnfunc(trigger_teleport)
        self.angles = '0 0 0';
 
        self.active = ACTIVE_ACTIVE;
-       trigger_init(self);
+       //trigger_init(self); // only for predicted triggers?
+       EXACTTRIGGER_INIT;
        self.use = trigger_teleport_use;
 
        if(self.noise != "")