From 40c75b811d8dcfaf9f4f702280b7f020abb53010 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 23 Oct 2010 23:05:56 +0000 Subject: [PATCH] - fixed: When used on non-projectiles A_Explode ignored the HurtSource flag. SVN r2963 (trunk) --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 424591be5..3c791fea6 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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; }