From: mfranz Date: Sun, 7 Oct 2007 17:45:58 +0000 (+0000) Subject: better check all runways, not just the first one :-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75383a3996d6ed028a68a79926ac9aef5501d281;p=flightgear.git better check all runways, not just the first one :-) --- diff --git a/src/Airports/runways.cxx b/src/Airports/runways.cxx index 85b92ec5a..0cd66776f 100644 --- a/src/Airports/runways.cxx +++ b/src/Airports/runways.cxx @@ -285,7 +285,7 @@ string FGRunwayList::search( const string& aptid, const int hdg ) { reversed = true; } - } while (!next(&r)); + } while (next(&r)); return reversed ? GetReverseRunwayNo(best._rwy_no) : best._rwy_no; }