gol2 not resetting properly
Causes life to malfunction severely in some cases
This commit is contained in:
parent
6bbc5328fc
commit
7c100f29c0
@ -1350,12 +1350,10 @@ void update_particles_i(pixel *vid, int start, int inc)
|
|||||||
if (r && parts[r>>8].tmp<=0)
|
if (r && parts[r>>8].tmp<=0)
|
||||||
parts[r>>8].type = PT_NONE;//using kill_part makes it not work
|
parts[r>>8].type = PT_NONE;//using kill_part makes it not work
|
||||||
}
|
}
|
||||||
gol2[nx][ny][0] = 0;
|
|
||||||
for ( z = 1; z<=NGOL; z++)
|
|
||||||
gol2[nx][ny][z] = 0;
|
|
||||||
}
|
}
|
||||||
if (createdsomething)
|
if (createdsomething)
|
||||||
GENERATION ++;
|
GENERATION ++;
|
||||||
|
memset(gol2, 0, sizeof(gol2));
|
||||||
}
|
}
|
||||||
if (ISWIRE==1)
|
if (ISWIRE==1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user