PowderToypp icon indicating copy to clipboard operation
PowderToypp copied to clipboard

particles randomly being deleted

Open jacob1 opened this issue 13 years ago • 2 comments

I was burning the 'Fallout:Barbarian Vault Boy' save, and then decided to draw some PRTI/PRTO. It then started randomly being deleted. This used to be a problem in my mod, and it's caused when a PT_NONE particle is killed, and the kill_part lets it be killed. Moving a particle after it was killed by things like VOID and BHOL (tpt does this) sometimes causes strange problems like this when there aren't enough checks in different places. Here is the result: 934473, but it doesn't continue happening later, i'll try repeating what I did to see if it always happens. Also, see this commit,changing part[i].type = PT_NONE to kill_part(i) caused the problem, and then I fixed it in the same commit. Maybe you forgot to merge that in too.

jacob1 avatar Aug 29 '12 23:08 jacob1

Is this issue also present in TPT?

simtr avatar Sep 01 '12 17:09 simtr

Not anymore, i've only ever seen it a lot in my mod after changing those lines to kill_part(i). I think there was one problem one time that also caused it in tpt though, electrons were being put into pmap, and then after going through portals this would happen.

jacob1 avatar Sep 01 '12 17:09 jacob1