]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/mutator_overkill.qc
Merge branch 'master' into TimePath/deathtypes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_overkill.qc
index 96376e24b13a1c67053d2c88af56108706624a57..5d1a9cd06dac86590ea3c94940ca29ae5210c5a9 100644 (file)
@@ -45,7 +45,7 @@ float ok_CheckWeaponCharge(entity ent, int wep)
 MUTATOR_HOOKFUNCTION(ok_PlayerDamage_Calculate)
 {
        if(IS_PLAYER(frag_attacker) && IS_PLAYER(frag_target))
-       if(DEATH_ISWEAPON(frag_deathtype, WEP_BLASTER.m_id))
+       if(DEATH_ISWEAPON(frag_deathtype, WEP_BLASTER))
        {
                frag_damage = 0;