You may remember me asking before about if linked lists would be better suited for my game programming needs. So, I've begun work on my own linked list to manipulate my game's particle engine.
However, I've run into difficulty. The system appears to function perfectly -- it creates particles and deletes them flawlessly. But, after a certain number of particles are created/destroyed (or so it seems), the game crashes with no errors or warnings or anything of the sort. I'm quite positive that the linked list is the source of this problem.
Does anyone know off the top of their head what I could be doing wrong with the linked lists? Is this somesort of memory leak, or could I be deleting/adding nodes wrong?
If nobody is able to solve this, I will followup with some code.