mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-05 16:07:27 +02:00
Fix for Antimatter
This commit is contained in:
@@ -1935,9 +1935,9 @@ void update_particles_i(pixel *vid, int start, int inc)
|
|||||||
parts[r>>8].type = PT_NONE;
|
parts[r>>8].type = PT_NONE;
|
||||||
kill_part(r>>8);
|
kill_part(r>>8);
|
||||||
if(2>(rand()/(RAND_MAX/100)))
|
if(2>(rand()/(RAND_MAX/100)))
|
||||||
create_part(r>>8, x+nx, y+ny, PT_PHOT);
|
create_part(-1, x+nx, y+ny, PT_PHOT);
|
||||||
pv[y/CELL][x/CELL] -= 5.0f;
|
pv[y/CELL][x/CELL] -= 5.0f;
|
||||||
goto killed;
|
//goto killed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user