Made a small change to the companionAi

they now ignore targets that are too far from the player.