diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_scanner.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) |