From: Mario Date: Tue, 19 Jul 2016 20:12:03 +0000 (+1000) Subject: Fix flag passing X-Git-Tag: xonotic-v0.8.2~700^2~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3a2b76cf66fc552ebfc0253f2d8b83308faf66c1;p=xonotic%2Fxonotic-data.pk3dir.git Fix flag passing --- diff --git a/qcsrc/server/mutators/mutator/gamemode_ctf.qc b/qcsrc/server/mutators/mutator/gamemode_ctf.qc index 633370e19..b3a06416c 100644 --- a/qcsrc/server/mutators/mutator/gamemode_ctf.qc +++ b/qcsrc/server/mutators/mutator/gamemode_ctf.qc @@ -1002,7 +1002,7 @@ void ctf_FlagThink(entity this) if((this.pass_target == NULL) || (IS_DEAD(this.pass_target)) || (this.pass_target.flagcarried) - || (vdist(this.origin - targ_origin, <, autocvar_g_ctf_pass_radius)) + || (vdist(this.origin - targ_origin, >, autocvar_g_ctf_pass_radius)) || ((trace_fraction < 1) && (trace_ent != this.pass_target)) || (time > this.ctf_droptime + autocvar_g_ctf_pass_timelimit)) {