abraker95 / tanks

2D arcade top-view shooting game
1 stars 0 forks source link

Attempt to Delete a Null Pointer at the closing of the game #31

Closed ghost closed 9 years ago

ghost commented 9 years ago

This is related to the camera code. Go over my code of how I initialize the camera and how you do it and trace where the error might come from.

ghost commented 9 years ago

Found the potential cause. The Environment was deleting cameras even if the camera was not dynamically allocated.