]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable prediction of teleporters
authorMario <mario@smbclan.net>
Sun, 28 Feb 2016 19:49:30 +0000 (05:49 +1000)
committerMario <mario@smbclan.net>
Sun, 28 Feb 2016 19:49:30 +0000 (05:49 +1000)
qcsrc/common/triggers/misc/teleport_dest.qc
qcsrc/common/triggers/trigger/teleport.qc

index 161e6796bd16a9b8ed0491c2859774ba3242f470..f6919006d47c40b8e25893d582743c7705999969 100644 (file)
@@ -26,7 +26,7 @@ bool teleport_dest_send(entity this, entity to, int sf)
 
 void teleport_dest_link()
 {SELFPARAM();
-       Net_LinkEntity(self, false, 0, teleport_dest_send);
+       //Net_LinkEntity(self, false, 0, teleport_dest_send);
        //self.SendFlags |= 1; // update
 }
 
index e289064c8b0413b1af161b3e7858659dc038741f..66e0e6305b3029a97a115bc3b99539e664b3d6fc 100644 (file)
@@ -75,7 +75,7 @@ float trigger_teleport_send(entity this, entity to, float sf)
 
 void trigger_teleport_link(entity this)
 {
-       trigger_link(this, trigger_teleport_send);
+       //trigger_link(this, trigger_teleport_send);
 }
 
 spawnfunc(trigger_teleport)