- fixed: When used on non-projectiles A_Explode ignored the HurtSource flag.

SVN r2963 (trunk)
This commit is contained in:
Christoph Oelckers 2010-10-23 23:05:56 +00:00
parent 747f3dd97a
commit 40c75b811d
1 changed files with 1 additions and 1 deletions

View File

@ -4325,7 +4325,7 @@ void P_RadiusAttack (AActor *bombspot, AActor *bombsource, int bombdamage, int b
if (thing->flags3 & MF3_NORADIUSDMG && !(bombspot->flags4 & MF4_FORCERADIUSDMG)) if (thing->flags3 & MF3_NORADIUSDMG && !(bombspot->flags4 & MF4_FORCERADIUSDMG))
continue; continue;
if (!DamageSource && thing == bombsource) if (!DamageSource && (thing == bombsource || thing == bombspot))
{ // don't damage the source of the explosion { // don't damage the source of the explosion
continue; continue;
} }