Ref T372, style

This commit is contained in:
Klaus Basan
2018-09-25 01:43:08 +02:00
parent 418324e64f
commit 24c2da67e7
2 changed files with 4 additions and 3 deletions

View File

@@ -290,7 +290,7 @@ namespace BlackSimPlugin
if (reference.isNull()) { return false; }
const CSimConnectObject simObject = m_simConnectObjects.getOldestNotPendingProbe(); // probes round robin
if (!simObject.isConfirmedAdded()) { return false; }
m_simConnectObjects[simObject.getCallsign()].resetTimestampToNow(); // mark as just used
m_simConnectObjects[simObject.getCallsign()].resetTimestampToNow(); // mark probe as just used
CCoordinateGeodetic pos(reference);
pos.setGeodeticHeight(terrainProbeAltitude());