mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 19:04:05 +02:00
slight change
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#define THUMB_CACHE_SIZE 256
|
#define THUMB_CACHE_SIZE 256
|
||||||
|
|
||||||
#define NGOL 10
|
#define NGOL 11
|
||||||
|
|
||||||
#define IMGCONNS 3
|
#define IMGCONNS 3
|
||||||
#define TIMEOUT 100
|
#define TIMEOUT 100
|
||||||
|
@@ -882,7 +882,7 @@ void update_particles_i(pixel *vid, int start, int inc)
|
|||||||
for(int golnum = 1;golnum<NGOL;golnum++)
|
for(int golnum = 1;golnum<NGOL;golnum++)
|
||||||
for(int goldelete = 1;goldelete<10;goldelete++)
|
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);
|
create_part(-1,nx,ny,golnum+77);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user