Original Post
I'm using directdraw loading values into a 2d array and drawing the corresponding tile based upon the camera location. Here's what's happening: When the furthest column to the right is showing, it crashes at certain camera Y values such as 380, 1160, and several others. Here's some factors: When I take out the call to draw the tile in the loop, it doesn't crash. It only crashes when i do a function with the tile object of mine. For example: g_tile[g_map[map_x][map_y]].Draw_Tile(), g_tile[g_map[map_x][map_y]].Process() or any other function that uses the tile object. What could be causing this?!? thanks for the help