removing warnings from game.cpp