game: compilation fix for VS, refs #390