Why oh why oh why (are you segfaulting)? (I’m Out)

OK, so my world terrain is a class with an array of enums for the different tiles.

The enum has 5 possible values, of which I’m only using hardWall and nothing.

The array is 1200 tiles, 40*30.

But for some FRUSTRATING reason, my collision detection segfaults when I try to look at ANY tile, (I tested by cheating and making it look at a tile I KNEW was there). Since the array isn’t dynamic it only get’s deleted in the destructor, and the display code works fine, reading from the array and drawing the appropriate tiles to the screen.

I tried adding an sf::Image that is black for empty and white for wall, and it 40*30 pixels, but it STILL segfaults for no apparent reason, even when I force it to read pixels I KNOW are there.

Without this I don’t have a game, and I’m having other retarded issues too.

Watch me rant about how annoying this all is last night :

http://www.youtube.com/watch?v=UdG1LmRT0H4