From d33c748485b3f7a2eb6888ab6e83a1cf031d5d4d Mon Sep 17 00:00:00 2001 From: durk Date: Tue, 28 Mar 2006 06:14:02 +0000 Subject: [PATCH] Fix for a misplaced boolean assignment that caused erratic runway selection. --- src/Airports/runwayprefs.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Airports/runwayprefs.cxx b/src/Airports/runwayprefs.cxx index 5a5a146b2..1a7f1dd11 100644 --- a/src/Airports/runwayprefs.cxx +++ b/src/Airports/runwayprefs.cxx @@ -231,10 +231,10 @@ void RunwayGroup::setActive(const string &aptId, // preference, however, we don't want to stop right there, because we also // don't want to randomly swap runway preferences, unless there is a need to. // - + validSelection = true; for (int j = 0; j < activeRwys; j++) { - validSelection = true; + name = rwyList[j].getRwyList(i); //cerr << "Name of Runway: " << name << endl; if (globals->get_runways()->search( aptId,