diff options
-rw-r--r-- | src/game/g_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index a9806f2d..8146f03f 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1049,13 +1049,13 @@ void G_CountSpawns( void ) for( i = 1, ent = g_entities + i ; i < level.num_entities ; i++, ent++ ) { - if( !ent->inuse ) + if( !ent->inuse || ent->s.eType != ET_BUILDABLE || ent->health <= 0 ) continue; - if( ent->s.modelindex == BA_A_SPAWN && ent->health > 0 ) + if( ent->s.modelindex == BA_A_SPAWN ) level.numAlienSpawns++; - if( ent->s.modelindex == BA_H_SPAWN && ent->health > 0 ) + if( ent->s.modelindex == BA_H_SPAWN ) level.numHumanSpawns++; } } |