Modified Files:
Airports/runways.cxx: Correct termination condition.
This commit is contained in:
parent
d4ecbb8856
commit
654cc64659
1 changed files with 2 additions and 1 deletions
|
@ -262,7 +262,8 @@ string FGRunwayList::search( const string& aptid, const int tgt_hdg ) {
|
||||||
found_dir = 180.0;
|
found_dir = 180.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
next( &tmp_r );
|
if (!next( &tmp_r ))
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// SG_LOG( SG_GENERAL, SG_INFO, "closest runway = " << r._rwy_no
|
// SG_LOG( SG_GENERAL, SG_INFO, "closest runway = " << r._rwy_no
|
||||||
|
|
Loading…
Add table
Reference in a new issue