1 in 5 chance of cell or heart being available when in free play mode.
This commit is contained in:
parent
0f768f593e
commit
513f7fdb58
|
@ -48,7 +48,7 @@ Entity *initCell(void)
|
|||
|
||||
static void init(void)
|
||||
{
|
||||
if (game.isComplete)
|
||||
if (game.isComplete && rand() % 5 > 0)
|
||||
{
|
||||
self->alive = ALIVE_DEAD;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue