Fix for X-15 crash.
This commit is contained in:
parent
87be5d93a5
commit
3cb4d55342
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue