Doesn't matter if flag lands in bot clip, players can reach it (possible fix for...
authorMario <mario@smbclan.net>
Fri, 29 Jan 2016 23:55:35 +0000 (09:55 +1000)
committerMario <mario@smbclan.net>
Fri, 29 Jan 2016 23:55:35 +0000 (09:55 +1000)
qcsrc/server/mutators/mutator/gamemode_ctf.qc

index ab7f576..a8d2df2 100644 (file)
@@ -1379,7 +1379,7 @@ void ctf_FlagSetup(int teamnumber, entity flag) // called when spawning a flag e
        flag.event_damage = ctf_FlagDamage;
        flag.pushable = true;
        flag.teleportable = TELEPORT_NORMAL;
-       flag.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP;
+       flag.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_PLAYERCLIP;
        flag.damagedbytriggers = autocvar_g_ctf_flag_return_when_unreachable;
        flag.damagedbycontents = autocvar_g_ctf_flag_return_when_unreachable;
        flag.velocity = '0 0 0';