fix up horse-riding ai--seems to function properly now