Random Seg Fault
andrewkatson opened this issue · 2 comments
andrewkatson commented
There is a seg fault that can happen randomly sometime into the run of the program. It definitely occurs after the map is generated but it does happen. No other data besides that.
andrewkatson commented
Ok so the sfml in sound manager seemed to be partly causing it. I also found that it can happen from something in user view (going to take a wild guess and say it was sfml). I subverted it by remaking the gamelogic at the start of the whole game if we get an enormous event manager for no reason.
andrewkatson commented
Changed the queue from raw pointer to shared pointer