diff options
author | Tim Angus <tim@ngus.net> | 2001-12-22 04:06:28 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-12-22 04:06:28 +0000 |
commit | 37651838b6ed3731f50ce0c798b02161ca2919ab (patch) | |
tree | 2954f8ec23fcd26b77d12aa70303b1a6ae28f6da /src/game/g_main.c | |
parent | d90bdf12e0aaa4cef3772d0d50fc40dfb1f09802 (diff) |
Bug fixes to droid->alien conversion :)
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index a36b15ac..c8f5d3b4 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -766,10 +766,10 @@ void countSpawns( void ) if (!ent->inuse) continue; - if( !Q_stricmp( ent->classname, "team_alien_spawn" ) && ent->health > 0 ) + if( ent->s.modelindex == BA_A_SPAWN && ent->health > 0 ) level.numAlienSpawns++; - if( !Q_stricmp( ent->classname, "team_human_spawn" ) && ent->health > 0 ) + if( ent->s.modelindex == BA_H_SPAWN && ent->health > 0 ) level.numHumanSpawns++; } } |