cgame: initialize a var before using it
cgame: remove some unused code
game: fix an invalid test
game: fix a typo
cgame: remove dead code
game: remove unused test
cgame: remove dead code
cgame: remove some dead code
cgame: remove dead code
ui: remove dead code
ui: remove some dead code
cgame: remove a useless test
ui: remove unused function
game: remove a useless test