mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 15:41:35 +02:00
TPT: Reset particle flags in create_part 135e91b84d
This commit is contained in:
@@ -2606,6 +2606,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat
|
|||||||
if (i>parts_lastActiveIndex) parts_lastActiveIndex = i;
|
if (i>parts_lastActiveIndex) parts_lastActiveIndex = i;
|
||||||
|
|
||||||
parts[i].dcolour = 0;
|
parts[i].dcolour = 0;
|
||||||
|
parts[i].flags = 0;
|
||||||
if (t==PT_GLAS)
|
if (t==PT_GLAS)
|
||||||
{
|
{
|
||||||
parts[i].pavg[1] = pv[y/CELL][x/CELL];
|
parts[i].pavg[1] = pv[y/CELL][x/CELL];
|
||||||
|
Reference in New Issue
Block a user