Minor error message improvement.
This commit is contained in:
parent
6745d27691
commit
1dbc2c83e5
1 changed files with 1 additions and 1 deletions
|
@ -80,12 +80,12 @@ FGAircraftModel::init ()
|
||||||
} catch (const sg_exception &ex) {
|
} catch (const sg_exception &ex) {
|
||||||
SG_LOG(SG_AIRCRAFT, SG_ALERT, "Failed to load aircraft from " << path << ':');
|
SG_LOG(SG_AIRCRAFT, SG_ALERT, "Failed to load aircraft from " << path << ':');
|
||||||
SG_LOG(SG_AIRCRAFT, SG_ALERT, " " << ex.getFormattedMessage());
|
SG_LOG(SG_AIRCRAFT, SG_ALERT, " " << ex.getFormattedMessage());
|
||||||
SG_LOG(SG_AIRCRAFT, SG_ALERT, "(Falling back to glider.ac.)");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!model)
|
if (!model)
|
||||||
{
|
{
|
||||||
|
SG_LOG(SG_AIRCRAFT, SG_ALERT, "(Falling back to glider.ac.)");
|
||||||
model = fgLoad3DModelPanel( "Models/Geometry/glider.ac",
|
model = fgLoad3DModelPanel( "Models/Geometry/glider.ac",
|
||||||
globals->get_props());
|
globals->get_props());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue