Thanks for answer. I do not know where I wrong, but my ball fly in wrong way

Code:
action cannon_ball(){
	set(my,PASSABLE);
	my.speed_x = 8;
	VECTOR temp2;
	while(1){
	        vec_for_vertex(temp2,cannon,43);
	        vec_diff(temp, player.x, temp2);
		vec_to_angle(my.pan,temp);
		c_move(my,temp2,my.speed_x,IGNORE_PASSABLE);
		wait(1);	
	}
}