]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an unused field
authorMario <mario@smbclan.net>
Mon, 10 Jul 2017 11:30:58 +0000 (21:30 +1000)
committerMario <mario@smbclan.net>
Mon, 10 Jul 2017 11:30:58 +0000 (21:30 +1000)
qcsrc/common/triggers/teleporters.qh
qcsrc/common/triggers/trigger/teleport.qc

index d65882d55c8b3cf3a8fe94348d9f64cc6af820d2..d7faaeff80bd7d76f6e1595e04d2cfef37dda429 100644 (file)
@@ -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);
index 1fabc80a571514315c7c3469437741e8e03dbe6b..5f545f01418488f4375c229715a06040e3fb2c87 100644 (file)
@@ -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;
 }