Fixed broken code for Classic difficulty.

The mistake caused the Classic game to deviate from the original
by not allowing Kline to drop mines in the Elamale mission. For
some reason I accidentally put that check in for Moebo instead.
Whoops!
This commit is contained in:
Julie Marchant 2019-05-04 12:47:05 -04:00
parent cbdbf94498
commit 828b56d4df
1 changed files with 2 additions and 2 deletions

View File

@ -1515,7 +1515,7 @@ void alien_setKlineAI(Object *alien)
case 2:
// Kline only attacks when he is ready!
if ((!(alien->flags & FL_NOFIRE)) &&
((game.area == MISN_MOEBO) ||
((game.area == MISN_ELAMALE) ||
game.difficulty != DIFFICULTY_ORIGINAL))
alien->flags |= FL_DROPMINES;
break;
@ -1926,7 +1926,7 @@ void alien_hurt(Object *alien, Object *attacker, int damage, int ion)
audio_playSound(SFX_HIT, alien->x, alien->y);
if (alien->AIType == AI_EVASIVE)
alien->thinktime = 0;
if (alien->shield < 1)
alien_destroy(alien, attacker);