Make heart and cell appear a little more often when game is complete.
This commit is contained in:
parent
1de2c09e00
commit
8100c45446
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue