Revert "AntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost."
Revert "AntennaRelay, ModuleLimitedDataTransmitter: Integrated getLineOfSight methods to detect when LOS is almost lost."

This reverts commit c21f14e55348ccfdcde511eb721f78d09d5e8178.

--- a/AntennaRelay.cs
+++ b/AntennaRelay.cs
@@ -97,15 +97,6 @@
 		}
 
 		/// <summary>
-		/// Gets the <see cref="ToadicusTools.LineOfSightStatus"/> of this relay.
-		/// </summary>
-		public LineOfSightStatus losStatus
-		{
-			get;
-			protected set;
-		}
-
-		/// <summary>
 		/// Gets the transmit distance.
 		/// </summary>
 		/// <value>The transmit distance.</value>
@@ -160,13 +151,12 @@
 				this.transmitDistance > this.maxTransmitDistance ||
 				(
 					requireLineOfSight &&
-					this.nearestRelay == null
+					this.nearestRelay == null &&
+					!this.vessel.hasLineOfSightTo(this.Kerbin, out this._firstOccludingBody, radiusRatio)
 				)
 			)
 			{
-				this.losStatus = this.vessel.getLineOfSightTo(this.Kerbin, out this._firstOccludingBody, radiusRatio);
-
-				return this.losStatus != LineOfSightStatus.Blocked;
+				return false;
 			}
 			else
 			{
@@ -242,19 +232,15 @@
 				}
 
 				// Skip vessels to which we do not have line of sight.
-				if (requireLineOfSight)
-				{
-					this.losStatus = this.vessel.getLineOfSightTo(potentialVessel, out this._firstOccludingBody, radiusRatio);
-
-					if (this.losStatus == LineOfSightStatus.Blocked)
-					{
-						Tools.PostDebugMessage(
-							this,
-							"Vessel {0} discarded because we do not have line of sight.",
-							potentialVessel.vesselName
-						);
-						continue;
-					}
+				if (requireLineOfSight &&
+					!this.vessel.hasLineOfSightTo(potentialVessel, out this._firstOccludingBody, radiusRatio))
+				{
+					Tools.PostDebugMessage(
+						this,
+						"Vessel {0} discarded because we do not have line of sight.",
+						potentialVessel.vesselName
+					);
+					continue;
 				}
 
 				// Find the distance from here to the vessel...
@@ -319,8 +305,6 @@
 			// HACK: This might not be safe in all circumstances, but since AntennaRelays are not built until Start,
 			// we hope it is safe enough.
 			this.Kerbin = FlightGlobals.Bodies.FirstOrDefault(b => b.name == "Kerbin");
-
-			this.losStatus = LineOfSightStatus.Clear;
 		}
 
 		static AntennaRelay()

--- a/ModuleLimitedDataTransmitter.cs
+++ b/ModuleLimitedDataTransmitter.cs
@@ -522,7 +522,7 @@
 			{
 				if (this.CanTransmit())
 				{
-					this.UIrelayStatus = string.Format("Connected via {0}", this.relay);
+					this.UIrelayStatus = string.Intern("Connected");
 					this.UItransmitDistance = Tools.MuMech_ToSI(this.transmitDistance) + "m";
 					this.UIpacketSize = Tools.MuMech_ToSI(this.DataRate) + "MiT";
 					this.UIpacketCost = Tools.MuMech_ToSI(this.DataResourceCost) + "E";
@@ -535,16 +535,7 @@
 					}
 					else
 					{
-						if (this.relay.losStatus == LineOfSightStatus.Blocked)
-						{
-							this.UIrelayStatus =
-								string.Format("Blocked by {0}", this.relay.firstOccludingBody.bodyName);
-						}
-						else if (this.relay.losStatus == LineOfSightStatus.Marginal)
-						{
-							this.UIrelayStatus =
-								string.Format("Almost blocked by {0}", this.relay.firstOccludingBody.bodyName);
-						}
+						this.UIrelayStatus = string.Format("Blocked by {0}", this.relay.firstOccludingBody.bodyName);
 					}
 					this.UImaxTransmitDistance = "N/A";
 					this.UIpacketSize = "N/A";