- 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

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))
continue;
if (!DamageSource && thing == bombsource)
if (!DamageSource && (thing == bombsource || thing == bombspot))
{ // don't damage the source of the explosion
continue;
}