diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c index 2e55f49..de06b16 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2864,7 +2864,10 @@ void update_particles(pixel *vid)//doesn't update the particles themselves, but // 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); - pmap_count[y][x]++; + // Count number of particles at each location, for excess stacking check + // (does not include energy particles or THDR - currently no limit on stacking those) + if (t!=PT_THDR) + pmap_count[y][x]++; } } lastPartUsed = i; |
