From adbcbeb9156141e02d182d00d91330f3f523664a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 3 Sep 2003 20:50:44 +0000 Subject: * Really fixed the creep bug * Usable buildable icon is only displayed on reactors and repeaters if you have an energy weapon --- src/cgame/cg_ents.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/cgame/cg_ents.c') diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index 9b57e627..9128597c 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -990,7 +990,6 @@ void CG_AddPacketEntities( void ) cg.ep.numHumanBuildables = 0; cg.ep.numAlienClients = 0; cg.ep.numHumanClients = 0; - cg.nearbyCorpse = qfalse; for( num = 0 ; num < cg.snap->numEntities ; num++ ) { @@ -1026,19 +1025,6 @@ void CG_AddPacketEntities( void ) cg.ep.numHumanClients++; } } - else if( cent->currentState.eType == ET_CORPSE ) - { -#define INFEST_RADIUS 64.0f - - if( cg.predictedPlayerState.stats[ STAT_PTEAM ] == PTE_ALIENS && - Distance( cg.refdef.vieworg, cent->lerpOrigin ) < INFEST_RADIUS ) - { - if( cent->currentState.eType == ET_CORPSE && - ( cent->currentState.powerups == cg.predictedPlayerState.clientNum || - cent->currentState.powerups == 65535 ) ) - cg.nearbyCorpse = qtrue; - } - } } //Com_Printf( "%d %d\n", cgIP.numAlienClients, cgIP.numHumanClients ); -- cgit