From a61357bc993ef3d3fcff2de1f1ca9423f3f9e80a Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 14 Jul 2014 16:09:41 +0200 Subject: theoretically allow non-player entities to telefrag other entities --- src/game/g_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') 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 -- cgit