1 in 5 chance of cell or heart being available when in free play mode.

This commit is contained in:
Steve 2018-03-16 22:27:26 +00:00
parent 0f768f593e
commit 513f7fdb58
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)
if (game.isComplete && rand() % 5 > 0)
{
self->alive = ALIVE_DEAD;
}

View File

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