]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/damage.qc
Send ent_DamageInfo for hitscan damage too. Why wasn't this done in the first place...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / damage.qc
index 4828a5b43ec948f61291d81d15fda3c8acc2db69..662c8fddb9ee7076a2609eb905aa6cfcf01bd458 100644 (file)
@@ -68,9 +68,8 @@ void Ent_DamageInfo(float isNew)
 
                if(self.event_damage)
                        self.event_damage(thisdmg, w_deathtype, w_org, thisforce);
-
-               DamageEffect(dmg, w_deathtype, species, self.entnum);
        }
+       DamageEffect(dmg, w_deathtype, species, self.entnum);
 
        self = oldself;