cgame: fix var scope (refs #56)
cgame: fix var scope (refs #56)