From 46ffc40592fb1917d788b501743f3be1ba1272c1 Mon Sep 17 00:00:00 2001 From: Layla Marchant Date: Fri, 25 Dec 2020 23:46:01 -0500 Subject: [PATCH] Made Kline Venus starting position relative to screen size --- src/game.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/game.c b/src/game.c index 7358183..a237987 100644 --- a/src/game.c +++ b/src/game.c @@ -2595,11 +2595,14 @@ int game_mainLoop() if (game.area == MISN_VENUS) { - if (game.difficulty == DIFFICULTY_ORIGINAL) { + if (game.difficulty == DIFFICULTY_ORIGINAL) + { aliens[ALIEN_KLINE].flags |= FL_IMMORTAL | FL_NOFIRE | FL_NOMOVE; - aliens[ALIEN_KLINE].x = 600; - aliens[ALIEN_KLINE].y = 300; - } else { + aliens[ALIEN_KLINE].x = screen->w * 3 / 4; + aliens[ALIEN_KLINE].y = screen->h / 2; + } + else + { aliens[ALIEN_KLINE].x = player.x + 1000; aliens[ALIEN_KLINE].y = player.y; }