I am trying to make the 3D buzz game, but the eraseSprite function does not work as I want it to. I hoped it would go to the location of the sprite, but rather than that it reacts to my key presses. The reason I found out, was because my first move function messed up key input and sprite movement. That was fixed, but the erase (cout << ' ';) function still moves like the old sprite did.
key | sprite movement
-------------------
w | left
s | right
a | up
d | down
I have checked the erase function in DrawEngine.cpp and the erase function in sprite.cpp Is there another place where it can be located? I get no errors and it all works.