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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 50eca22..bfe0de9 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1575,6 +1575,9 @@ qboolean G_SelectiveRadiusDamage( vec3_t origin, gentity_t *attacker, float dama
if( !ent->takedamage )
continue;
+ if( ent->s.eFlags & EF_WARPING )
+ continue;
+
if( ent->flags & FL_NOTARGET )
continue;
@@ -1692,6 +1695,9 @@ qboolean G_RadiusDamage( vec3_t origin, gentity_t *attacker, float damage,
if( ent == ignore )
continue;
+ if( ent->s.eFlags & EF_WARPING )
+ continue;
+
if( !ent->takedamage )
continue;