Here's the entire loop, maybe my problem is with how I'm moving the camera or something

Code:
while (my)
	{
		vec_to_angle (my.pan,mouse_pos3d);
   	my.tilt = 0;
   //-----------Movement-----------
   	camera.x = my.x;
   	camera.y = my.y;
   	if (key_w)
	     c_move (me, nullvector, vector(20*time_step, 0, 0), IGNORE_PASSABLE); // move the player forward
	if (key_s)
	     c_move (me, nullvector, vector(-20*time_step, 0, 0), IGNORE_PASSABLE); // move the player forward
   	wait(1);
	}