Fixed drones and small asteroids being given special alien slots.

This could cause small asteroids and drones to be given labels that
said "Sid", "Phoebe", "Ursula", or "Kline".
This commit is contained in:
onpon4 2016-01-08 12:10:50 -05:00
parent 8de37af9cd
commit a889d43296
2 changed files with 3 additions and 2 deletions

View File

@ -1192,7 +1192,7 @@ void alien_addSmallAsteroid(object *hostAlien)
for (int i = 0 ; i < debris ; i++) for (int i = 0 ; i < debris ; i++)
bullet_add(&weapon[W_ROCKETS], hostAlien, 0, 0); bullet_add(&weapon[W_ROCKETS], hostAlien, 0, 0);
for (int i = 10 ; i < 20 ; i++) for (int i = 0 ; i <= ALIEN_NORMAL_LAST ; i++)
if (!aliens[i].active) if (!aliens[i].active)
index = i; index = i;

View File

@ -128,7 +128,8 @@ enum {
// These are for Alien *indexes* NOT classdefs!! // These are for Alien *indexes* NOT classdefs!!
enum { enum {
ALIEN_BOSS = 10, ALIEN_NORMAL_LAST = 20,
ALIEN_BOSS,
ALIEN_BOSS_PART1, ALIEN_BOSS_PART1,
ALIEN_BOSS_PART2, ALIEN_BOSS_PART2,
ALIEN_BOSS_PART3, ALIEN_BOSS_PART3,