From 61399ae6d2f8e6391f95495eec225863c586fb18 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 19:15:29 +0200 Subject: remove redundant code --- src/game/g_mover.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/game/g_mover.c b/src/game/g_mover.c index f8a3f41c..64f68f5c 100644 --- a/src/game/g_mover.c +++ b/src/game/g_mover.c @@ -1342,14 +1342,6 @@ void manualTriggerSpectator( gentity_t *trigger, gentity_t *player ) { if( !strcmp( t->classname, "func_door" ) ) targets[ i++ ] = t; - else if( t == trigger ) - G_Printf( "WARNING: Entity used itself.\n" ); - - if( !trigger->inuse ) - { - G_Printf( "triggerity was removed while using targets\n" ); - return; - } } //if more than 0 targets -- cgit