From: Mario Date: Sun, 28 Feb 2016 19:49:30 +0000 (+1000) Subject: Disable prediction of teleporters X-Git-Tag: xonotic-v0.8.2~1170 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=48397e9110880ce207fdb9542d324e40ae3b9e05;p=xonotic%2Fxonotic-data.pk3dir.git Disable prediction of teleporters --- diff --git a/qcsrc/common/triggers/misc/teleport_dest.qc b/qcsrc/common/triggers/misc/teleport_dest.qc index 161e6796b..f6919006d 100644 --- a/qcsrc/common/triggers/misc/teleport_dest.qc +++ b/qcsrc/common/triggers/misc/teleport_dest.qc @@ -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 } diff --git a/qcsrc/common/triggers/trigger/teleport.qc b/qcsrc/common/triggers/trigger/teleport.qc index e289064c8..66e0e6305 100644 --- a/qcsrc/common/triggers/trigger/teleport.qc +++ b/qcsrc/common/triggers/trigger/teleport.qc @@ -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)