From dd8655e639251a8442b7e4d85db29e6f2a6163e3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 27 Mar 2016 21:26:11 +1000 Subject: [PATCH] Fix warpzones --- qcsrc/lib/warpzone/server.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/lib/warpzone/server.qc b/qcsrc/lib/warpzone/server.qc index 13e5a9599..d9d4b6222 100644 --- a/qcsrc/lib/warpzone/server.qc +++ b/qcsrc/lib/warpzone/server.qc @@ -248,11 +248,11 @@ void WarpZone_Touch () if (!this.target) this.target = save1; if (!this.target3) this.target3 = save2; - save1 = this.enemy.target; this.enemy.target = string_null; - save2 = this.enemy.target2; this.enemy.target2 = string_null; + save1 = this.target; this.target = string_null; + save2 = this.target2; this.target2 = string_null; SUB_UseTargets(this.enemy, other, other); // use other too? - if (!this.enemy.target) this.enemy.target = save1; - if (!this.enemy.target2) this.enemy.target2 = save2; + if (!this.target) this.target = save1; + if (!this.target2) this.target2 = save2; #endif } else -- 2.39.2