mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-21 23:45:20 +02:00
TPT: Prevent THDR from counting towards stacked particle limit
This commit is contained in:
@@ -4156,7 +4156,8 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
|
|||||||
// To make particles collide correctly when inside these elements, these elements must not overwrite an existing pmap entry from particles inside them
|
// To make particles collide correctly when inside these elements, these elements must not overwrite an existing pmap entry from particles inside them
|
||||||
if (!pmap[y][x] || (t!=PT_INVIS && t!= PT_FILT))
|
if (!pmap[y][x] || (t!=PT_INVIS && t!= PT_FILT))
|
||||||
pmap[y][x] = t|(i<<8);
|
pmap[y][x] = t|(i<<8);
|
||||||
pmap_count[y][x]++;
|
if (t!=PT_THDR)
|
||||||
|
pmap_count[y][x]++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lastPartUsed = i;
|
lastPartUsed = i;
|
||||||
|
Reference in New Issue
Block a user