]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow vampire buff to work with arc
authorMario <mario@smbclan.net>
Sat, 6 Feb 2016 20:27:49 +0000 (06:27 +1000)
committerMario <mario@smbclan.net>
Sat, 6 Feb 2016 20:27:49 +0000 (06:27 +1000)
qcsrc/common/mutators/mutator/buffs/buffs.qc

index 9b32642a491a8f065ba9332d702cadf4312b7e99..903237f92b1fd6c86d6216b7667b4d1ece3bf770 100644 (file)
@@ -598,7 +598,6 @@ MUTATOR_HOOKFUNCTION(buffs, PlayerDamage_Calculate)
        // this... is ridiculous (TODO: fix!)
        if(frag_attacker.buffs & BUFF_VAMPIRE.m_itemid)
        if(!frag_target.vehicle)
-       if(DEATH_WEAPONOF(frag_deathtype) != WEP_ARC)
        if(!ITEM_DAMAGE_NEEDKILL(frag_deathtype))
        if(!IS_DEAD(frag_target))
        if(IS_PLAYER(frag_target) || IS_MONSTER(frag_target))