]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix flag passing
authorMario <mario@smbclan.net>
Tue, 19 Jul 2016 20:12:03 +0000 (06:12 +1000)
committerMario <mario@smbclan.net>
Tue, 19 Jul 2016 20:12:03 +0000 (06:12 +1000)
qcsrc/server/mutators/mutator/gamemode_ctf.qc

index 633370e19e9e08f4aaf6fdf7933bf0828f58e0a7..b3a06416cd1abd330b1f96ef8339d5d9f5894e00 100644 (file)
@@ -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))
                        {