Added missing check for a_LineOfSight