From f9da05655df7b261c5f0f47b10a36f25073621b3 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sun, 29 Mar 2015 14:18:19 -0400 Subject: [PATCH] In the Mars mission, create asteroids more sparsely. --- src/alien.cpp | 2 +- src/game.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alien.cpp b/src/alien.cpp index 47b5561..491aae5 100644 --- a/src/alien.cpp +++ b/src/alien.cpp @@ -946,7 +946,7 @@ bool alien_place(object *alien) if (currentGame.area == MISN_MARS) { alien->x = screen->w; - alien->y = RANDRANGE(screen->h / 3, (2 * screen->h) / 3); + alien->y = RANDRANGE(-screen->h / 3, (4 * screen->h) / 3); } for (int i = 0 ; i < ALIEN_MAX ; i++) diff --git a/src/game.cpp b/src/game.cpp index 120391a..7c2f06c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -854,7 +854,7 @@ int mainGameLoop() } } - if ((currentGame.area == MISN_MARS) && (alien->x < -300)) + if ((currentGame.area == MISN_MARS) && (alien->x < -60)) alien->active = false; } else