Make heart and cell appear a little more often when game is complete.

This commit is contained in:
Steve 2018-04-15 09:25:53 +01:00
parent 1de2c09e00
commit 8100c45446
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ Entity *initCell(void)
static void init(void)
{
if (game.isComplete && rand() % 5 > 0)
if (game.isComplete && rand() % 3 > 0)
{
self->alive = ALIVE_DEAD;
}

View File

@ -50,7 +50,7 @@ Entity *initHeart(Entity *e)
static void init(void)
{
if (game.isComplete && rand() % 5 > 0)
if (game.isComplete && rand() % 3 > 0)
{
self->alive = ALIVE_DEAD;
}