Hacking on airway loading logging
This commit is contained in:
parent
9c7243e1c4
commit
c6aa7fee26
1 changed files with 2 additions and 1 deletions
|
@ -2433,9 +2433,10 @@ PositionedIDVec NavDataCache::airwayWaypts(int id)
|
|||
result.insert(result.end(), linearAirway.begin(), linearAirway.end());
|
||||
} // outer loop
|
||||
|
||||
SG_LOG(SG_AUTOPILOT, SG_WARN, "Airway:" << id);
|
||||
for (int i=0; i<result.size(); ++i) {
|
||||
if (result.at(i) == 0) {
|
||||
SG_LOG(SG_AUTOPILOT, SG_WARN, i << " break");
|
||||
SG_LOG(SG_AUTOPILOT, SG_WARN, i << " <break>");
|
||||
} else {
|
||||
SG_LOG(SG_AUTOPILOT, SG_WARN, i << " " << loadById(result.at(i))->ident());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue