From: Mario Date: Wed, 13 Apr 2016 03:01:26 +0000 (+1000) Subject: Fix pushing teammates in instagib X-Git-Tag: xonotic-v0.8.2~964 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aac0f0c4ff2744c19db99765e7434c7fedfa0950;p=xonotic%2Fxonotic-data.pk3dir.git Fix pushing teammates in instagib --- diff --git a/qcsrc/common/mutators/mutator/instagib/instagib.qc b/qcsrc/common/mutators/mutator/instagib/instagib.qc index d27c32282..7b0aed460 100644 --- a/qcsrc/common/mutators/mutator/instagib/instagib.qc +++ b/qcsrc/common/mutators/mutator/instagib/instagib.qc @@ -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)