In the Mars mission, create asteroids more sparsely.
This commit is contained in:
parent
5019244da1
commit
f9da05655d
|
@ -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++)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue