Okay, I seriously think I've fixed it now[grin] By chance today I was scrolling through the header file for the flaming chunks that are spawned from explosions (which seem to be the root of the crash bug). Anyways, by chance, I saw this gem of a code snippet:
Does anyone else see the problem with that[wink] I can't believe I didn't see this earlier, but the wierd thing is that this didn't crash the game everytime a Chunk was deleted. This also might have fixed that random "white squares" bug, because I'm assuming that if this wasn't crashing the game all the time, it must have been deleting some other animations somehow. There are a lot of animations that aren't being used at any given time, so this may not have been noticed, until it got rid of an animation that the player can see, such as the airplane, the target arrows, etc. I'm just guessing at this right now, but it makes sense, and it explains almost all the shit that happens in the game.
EDIT: Hmmmm..... seems I found another candidate for the crash bug, turns out that the Explosions were actually deleting some of their pointers twice as well....
Anyways, hopefully these fixes will get rid of those damn crash bugs, so everyone should try out this fixed version (I know it sucks, but I need to get this bug fixed before I press on with the cool stuff.....)
NOTE: I seem to be getting that gray flashing screen a bit with this version, sorry about that....
Let me know if that fixed anything, hopefully it did, and I can get on with funner stuff.....