else if (dist < 180*180)
else if (dist < 90*90)
inline void Set_mouse_and_speed	(	int mousex, int mousey		// Physical mouse location.	)	{	int ax, ay;			// Get Avatar screen location.	gwin->get_shape_location(gwin->get_main_actor(), ax, ay);	int dy = ay - (mousey >> scale), dx = (mousex >> scale) - ax;	Direction dir = Get_direction(dy, dx);	int dist = dy*dy + dx*dx;	if (dist < 48*48)		{		if(gwin->in_combat())			mouse->set_short_combat_arrow(dir);		else			mouse->set_short_arrow(dir);		avatar_speed = slow_speed;		}	else if (dist < 180*180)		{		if(gwin->in_combat())			mouse->set_medium_combat_arrow(dir);		else			mouse->set_medium_arrow(dir);		avatar_speed = medium_speed;		}	else		{		// No long arrow in combat: use medium		if(gwin->in_combat())			mouse->set_medium_combat_arrow(dir);		else			mouse->set_long_arrow(dir);		avatar_speed = fast_speed;		}	}