From fd69c6cdcccfee850fb769ce34883ee7813ab569 Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:51:49 +0000 Subject: Dead buildables are ignored on radar --- src/cgame/cg_scanner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cgame/cg_scanner.c b/src/cgame/cg_scanner.c index e0498b43..e330880d 100644 --- a/src/cgame/cg_scanner.c +++ b/src/cgame/cg_scanner.c @@ -58,7 +58,8 @@ void CG_UpdateEntityPositions( void ) { cent = &cg_entities[ cg.snap->entities[ i ].number ]; - if( cent->currentState.eType == ET_BUILDABLE ) + if( cent->currentState.eType == ET_BUILDABLE && + !( cent->currentState.eFlags & EF_DEAD ) ) { // add to list of item positions (for creep) if( cent->currentState.modelindex2 == TEAM_ALIENS ) -- cgit