From: Samual Lenks Date: Sun, 16 Sep 2012 01:06:40 +0000 (-0400) Subject: Don't *ever* allow passing to vehicles, it's broken and wouldn't work in X-Git-Tag: xonotic-v0.7.0~222 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=22286721df24b653ac3af0cfc502c8895fe851f5;p=xonotic%2Fxonotic-data.pk3dir.git Don't *ever* allow passing to vehicles, it's broken and wouldn't work in reverse anyway --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 32c7e4a78..7aeca1cd5 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -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) {