diff options
author | Tim Angus <tim@ngus.net> | 2003-09-03 20:50:44 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2003-09-03 20:50:44 +0000 |
commit | adbcbeb9156141e02d182d00d91330f3f523664a (patch) | |
tree | 242f7975d4e671b897937c1a96053eb01e79889d /src/cgame/cg_ents.c | |
parent | 4b7492531a70a97c4bfbd211564cfd0a192c58d6 (diff) |
* Really fixed the creep bug
* Usable buildable icon is only displayed on reactors and repeaters if you have
an energy weapon
Diffstat (limited to 'src/cgame/cg_ents.c')
-rw-r--r-- | src/cgame/cg_ents.c | 14 |
1 files changed, 0 insertions, 14 deletions
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 ); |