From: Mario Date: Mon, 10 Jul 2017 11:30:58 +0000 (+1000) Subject: Remove an unused field X-Git-Tag: xonotic-v0.8.5~2651 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a97b059f103141d9af6a8791ade1cad908069e10;p=xonotic%2Fxonotic-data.pk3dir.git Remove an unused field --- diff --git a/qcsrc/common/triggers/teleporters.qh b/qcsrc/common/triggers/teleporters.qh index d65882d55..d7faaeff8 100644 --- a/qcsrc/common/triggers/teleporters.qh +++ b/qcsrc/common/triggers/teleporters.qh @@ -27,9 +27,6 @@ entity Teleport_Find(vector mi, vector ma); void TeleportPlayer(entity teleporter, entity player, vector to, vector to_angles, vector to_velocity, vector telefragmin, vector telefragmax, float tflags); -entity teleport_first; -.entity teleport_next; - #ifdef SVQC void trigger_teleport_use(entity this, entity actor, entity trigger); diff --git a/qcsrc/common/triggers/trigger/teleport.qc b/qcsrc/common/triggers/trigger/teleport.qc index 1fabc80a5..5f545f014 100644 --- a/qcsrc/common/triggers/trigger/teleport.qc +++ b/qcsrc/common/triggers/trigger/teleport.qc @@ -100,9 +100,6 @@ spawnfunc(trigger_teleport) } IL_PUSH(g_teleporters, this); - - this.teleport_next = teleport_first; - teleport_first = this; } #elif defined(CSQC) NET_HANDLE(ENT_CLIENT_TRIGGER_TELEPORT, bool isnew) @@ -123,9 +120,6 @@ NET_HANDLE(ENT_CLIENT_TRIGGER_TELEPORT, bool isnew) this.move_time = time; defer(this, 0.25, teleport_findtarget); - this.teleport_next = teleport_first; - teleport_first = this; - return true; }