mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: When used on non-projectiles A_Explode ignored the HurtSource flag.
SVN r2963 (trunk)
This commit is contained in:
parent
747f3dd97a
commit
40c75b811d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue