mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Ref T275, unified elevation missed info -> getElevationsFoundMissedInfo()
This commit is contained in:
@@ -224,8 +224,6 @@ namespace BlackMisc
|
||||
// logging
|
||||
if (this->doLogging())
|
||||
{
|
||||
static const QString elv("found %1 missed %2");
|
||||
const QPair<int, int> elvStats = this->getElevationsFoundMissed();
|
||||
log.tsCurrent = m_currentTimeMsSinceEpoch;
|
||||
log.callsign = m_callsign;
|
||||
log.groundFactor = currentSituation.getOnGroundFactor();
|
||||
@@ -233,7 +231,7 @@ namespace BlackMisc
|
||||
log.situationCurrent = currentSituation;
|
||||
log.change = m_pastSituationsChange;
|
||||
log.usedSetup = m_currentSetup;
|
||||
log.elevationInfo = elv.arg(elvStats.first).arg(elvStats.second);
|
||||
log.elevationInfo = this->getElevationsFoundMissedInfo();
|
||||
log.cgAboveGround = currentSituation.getCG();
|
||||
log.sceneryOffset = m_currentSceneryOffset;
|
||||
m_logger->logInterpolation(log);
|
||||
|
||||
Reference in New Issue
Block a user