Fixed attack in pathFinding alg.