fixed last pathfinding bit
only shoot if player is visible