TPT: Prevent THDR from counting towards stacked particle limit
This commit is contained in:
parent
5f81b70787
commit
f0778c2033
@ -4156,6 +4156,7 @@ 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
|
||||
if (!pmap[y][x] || (t!=PT_INVIS && t!= PT_FILT))
|
||||
pmap[y][x] = t|(i<<8);
|
||||
if (t!=PT_THDR)
|
||||
pmap_count[y][x]++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user