1
0
Fork 0

Fix for X-15 crash.

This commit is contained in:
tony 2002-12-17 00:07:46 +00:00
parent 87be5d93a5
commit 3cb4d55342

View file

@ -92,10 +92,8 @@ FGGain::FGGain(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
Table = new FGTable(Rows);
} else if (token == "SCHEDULED_BY") {
token = AC_cfg->GetValue("SCHEDULED_BY");
if (token.find("FG_") != token.npos) {
*AC_cfg >> strScheduledBy;
ScheduledBy = PropertyManager->GetNode( strScheduledBy );
}
*AC_cfg >> strScheduledBy;
ScheduledBy = PropertyManager->GetNode( strScheduledBy );
} else if (token == "OUTPUT") {
IsOutput = true;
*AC_cfg >> sOutputIdx;