1
0
Fork 0

src/Aircraft/initialstate.cxx: fixed typo in diagnostic when --state=... is not found.

This commit is contained in:
Julian Smith 2021-01-07 14:44:25 +00:00
parent fb027e0193
commit 2e782100c8

View file

@ -86,7 +86,7 @@ void applyInitialState()
SG_LOG(SG_AIRCRAFT, SG_WARN, "missing state node for:" << nm);
std::string aircraft = fgGetString("/sim/aircraft");
modalMessageBox("Unknown aircraft state",
"The selected aircraft (" + aircraft + ") does not have a stage '" + nm + "')");
"The selected aircraft (" + aircraft + ") does not have a state '" + nm + "'");
return;
}
@ -97,4 +97,4 @@ void applyInitialState()
copyProperties(stateNode->getChild("overlay"), globals->get_props());
}
} // of namespace flightgear
} // of namespace flightgear