summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-13 19:15:29 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:13 +0100
commit61399ae6d2f8e6391f95495eec225863c586fb18 (patch)
treee5f91b195231fa5b13e35e688280ba23b0014e53 /src/game
parent80b099b6573aa7a234cafd0d2430b95fbf839f49 (diff)
remove redundant code
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_mover.c8
1 files changed, 0 insertions, 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