From 66faa897a5fe83ff3bea2a6749e7498652f243d3 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Fri, 8 Jan 2016 17:37:18 -0500 Subject: [PATCH] Permit Kline to drop mines in all of his appearances. I don't understand why there is code to prevent Kline from dropping mines after his first appearance. So except in Classic difficulty, this limitation has been removed. He now drops mines in all of his appearances. --- src/alien.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/alien.cpp b/src/alien.cpp index dce705b..08ec47f 100644 --- a/src/alien.cpp +++ b/src/alien.cpp @@ -1394,7 +1394,7 @@ This AI is exclusively for Kline. void alien_setKlineAI(object *alien) { // Weapon type change - if ((rand() % 3) == 0) + if (CHANCE(1. / 3.)) { if (game.area != MISN_VENUS) { @@ -1430,7 +1430,8 @@ void alien_setKlineAI(object *alien) case 2: // Kline only attacks then he is ready! if ((!(alien->flags & FL_NOFIRE)) && - (game.area == MISN_MOEBO)) + ((game.area == MISN_MOEBO) || + game.difficulty != DIFFICULTY_ORIGINAL)) alien->flags |= FL_DROPMINES; break; case 3: