]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't *ever* allow passing to vehicles, it's broken and wouldn't work in
authorSamual Lenks <samual@xonotic.org>
Sun, 16 Sep 2012 01:06:40 +0000 (21:06 -0400)
committerSamual Lenks <samual@xonotic.org>
Sun, 16 Sep 2012 01:06:40 +0000 (21:06 -0400)
reverse anyway

qcsrc/server/mutators/gamemode_ctf.qc

index 32c7e4a78fff875605254f605c1604f48db57c7c..7aeca1cd5d530bfc75790fe5a801ca0de8b02ed5 100644 (file)
@@ -1777,7 +1777,7 @@ MUTATOR_HOOKFUNCTION(ctf_PlayerUseKey)
                        {
                                if(head.classname == "player" && head.deadflag == DEAD_NO)
                                if(head != player && !IsDifferentTeam(head, player))
-                               if(!head.speedrunning && (!head.vehicle || autocvar_g_ctf_allow_vehicle_touch))
+                               if(!head.speedrunning && !head.vehicle)
                                {
                                        if(autocvar_g_ctf_pass_request && !player.flagcarried && head.flagcarried) 
                                        {