mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +08:00
Ref T681, use simulator or DB CG as in settings
This commit is contained in:
@@ -1193,7 +1193,7 @@ namespace BlackCore
|
||||
}
|
||||
|
||||
// CG from provider
|
||||
const CLength cg = this->getSimulatorCG(callsign); // always x-check against simulator to override guessed values and reflect changed CGs
|
||||
const CLength cg = this->getSimulatorOrDbCG(callsign, this->getCGFromDB(callsign)); // always x-check against simulator to override guessed values and reflect changed CGs
|
||||
if (!cg.isNull()) { correctedSituation.setCG(cg); }
|
||||
|
||||
// store corrected situation
|
||||
|
||||
Reference in New Issue
Block a user