]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix pushing teammates in instagib
authorMario <mario@smbclan.net>
Wed, 13 Apr 2016 03:01:26 +0000 (13:01 +1000)
committerMario <mario@smbclan.net>
Wed, 13 Apr 2016 03:01:26 +0000 (13:01 +1000)
qcsrc/common/mutators/mutator/instagib/instagib.qc

index d27c32282b41fa6511405c0b79f61f4bc883f780..7b0aed460f9a885aafe5ad1b16cff690a01448f7 100644 (file)
@@ -288,7 +288,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, PlayerDamage_Calculate)
                if(IS_PLAYER(frag_attacker))
                if(DEATH_ISWEAPON(frag_deathtype, WEP_VAPORIZER))
                {
-                       if(autocvar_g_instagib_friendlypush && SAME_TEAM(frag_target, frag_attacker))
+                       if(!autocvar_g_instagib_friendlypush && SAME_TEAM(frag_target, frag_attacker))
                                frag_force = '0 0 0';
 
                        if(frag_target.armorvalue)