1
0
Fork 0

Fix for a misplaced boolean assignment that caused erratic runway selection.

This commit is contained in:
durk 2006-03-28 06:14:02 +00:00
parent 7282491294
commit d33c748485

View file

@ -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,