Original Post
I have 2 classes, an animation class and an animation manager class, for the blitting of the object I pass Animations.GetFrame() etc. What I've noticed is the animation is off, I found out that the x value of the SDL_Rect* is being corrupted. The y, w, and h values are what they were set to be. The SDL_Rect*'s are held in a vector after which the X value becomes corrupted. If I load it with 0 0 50 50 the values returned are 44 0 50 50 or 50 0 50 50 becomes 22 0 50 50. Any help would be greatly appreciated as this has been bugging me for some time.