cgame: use switch in cg_predict
mod: warning fix