slight change

This commit is contained in:
Philip 2010-11-07 01:03:57 -05:00
parent fd79639c5d
commit ea1c44aba4
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#define THUMB_CACHE_SIZE 256
#define NGOL 10
#define NGOL 11
#define IMGCONNS 3
#define TIMEOUT 100

View File

@ -882,7 +882,7 @@ void update_particles_i(pixel *vid, int start, int inc)
for(int golnum = 1;golnum<NGOL;golnum++)
for(int goldelete = 1;goldelete<10;goldelete++)
{
if(neighbors==goldelete&&gol[nx][ny]==0&&grule[golnum][goldelete]>=2&&gol2[nx][ny][golnum]>=goldelete/2)
if(neighbors==goldelete&&gol[nx][ny]==0&&grule[golnum][goldelete]>=2&&gol2[nx][ny][golnum]>=(goldelete%2)+goldelete/2)
{
create_part(-1,nx,ny,golnum+77);
}