Fix nades not interacting properly with the overkill shotgun
authorMario <mario.mario@y7mail.com>
Wed, 20 May 2020 10:55:15 +0000 (20:55 +1000)
committerMario <mario.mario@y7mail.com>
Wed, 20 May 2020 10:55:15 +0000 (20:55 +1000)
qcsrc/common/mutators/mutator/nades/nades.qc

index 510fcf9..0a48209 100644 (file)
@@ -892,7 +892,7 @@ void nade_damage(entity this, entity inflictor, entity attacker, float damage, i
        }
        else if(DEATH_ISWEAPON(deathtype, WEP_MACHINEGUN) || DEATH_ISWEAPON(deathtype, WEP_OVERKILL_MACHINEGUN))
                damage = this.max_health * 0.1;
-       else if(DEATH_ISWEAPON(deathtype, WEP_SHOCKWAVE) || DEATH_ISWEAPON(deathtype, WEP_SHOTGUN)) // WEAPONTODO
+       else if(DEATH_ISWEAPON(deathtype, WEP_SHOCKWAVE) || DEATH_ISWEAPON(deathtype, WEP_SHOTGUN) || DEATH_ISWEAPON(deathtype, WEP_OVERKILL_SHOTGUN)) // WEAPONTODO
        {
                if(!(deathtype & HITTYPE_SECONDARY))
                        damage = this.max_health * 1.15;