I made an RPG game, with a map manager, I have now decided to try to make a tower defence game, and think I should use this. I removed some things and the program seems to have stopped working. I get the problem R6010, abort() called. I debugged and think the problem is here: