From 75383a3996d6ed028a68a79926ac9aef5501d281 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 7 Oct 2007 17:45:58 +0000 Subject: [PATCH] better check all runways, not just the first one :-) --- src/Airports/runways.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5