In the Mars mission, create asteroids more sparsely.

This commit is contained in:
onpon4 2015-03-29 14:18:19 -04:00
parent 5019244da1
commit f9da05655d
2 changed files with 2 additions and 2 deletions

View File

@ -946,7 +946,7 @@ bool alien_place(object *alien)
if (currentGame.area == MISN_MARS) if (currentGame.area == MISN_MARS)
{ {
alien->x = screen->w; 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++) for (int i = 0 ; i < ALIEN_MAX ; i++)

View File

@ -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; alien->active = false;
} }
else else