summaryrefslogtreecommitdiff
path: root/src/game/g_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r--src/game/g_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c
index 83bd0c55..495a6fa9 100644
--- a/src/game/g_utils.c
+++ b/src/game/g_utils.c
@@ -569,7 +569,7 @@ void G_KillBox( gentity_t *ent )
{
hit = &g_entities[ touch[ i ] ];
- if( !hit->client )
+ if( ent->client && !hit->client ) // players can telefrag only other players
continue;
// impossible to telefrag self