summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 44dfa1c1..f602f0af 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1243,6 +1243,9 @@ qboolean G_SelectiveRadiusDamage( vec3_t origin, gentity_t *attacker, float dama
if( !ent->takedamage )
continue;
+ if( ent->flags & FL_NOTARGET )
+ continue;
+
// find the distance from the edge of the bounding box
for( i = 0 ; i < 3 ; i++ )
{