Latest JSBSim changes.
This commit is contained in:
parent
916045f45e
commit
b9dc522882
2 changed files with 4 additions and 2 deletions
|
@ -146,7 +146,6 @@ CLASS DOCUMENTATION
|
|||
@see FGSwitch
|
||||
@see FGGradient
|
||||
@see FGFilter
|
||||
@see FGFlaps
|
||||
@see FGDeadBand
|
||||
*/
|
||||
|
||||
|
|
|
@ -722,7 +722,10 @@ bool FGInitialCondition::Load(string acpath, string acname, string rstfile)
|
|||
# endif
|
||||
|
||||
FGConfigFile resetfile(resetDef);
|
||||
if (!resetfile.IsOpen()) return false;
|
||||
if (!resetfile.IsOpen()) {
|
||||
cerr << "Failed to open reset file: " << resetDef << endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
resetfile.GetNextConfigLine();
|
||||
token = resetfile.GetValue();
|
||||
|
|
Loading…
Add table
Reference in a new issue