removed unused variables from player.cpp