Well I just learned an important lesson. References can not be used to point to different variables. I am trying to refactor everything that is affected. The function parameters have been changed from references to pointers. My guess is that the address of operator used in the function call will dismiss the error. Is this workable? I am making a different character move using the original function so I need pointers to use the sprite and positioning, etc.