1
0
Fork 0

Fix a warning

This commit is contained in:
James Turner 2020-03-20 11:40:47 -07:00
parent 26b527f151
commit 162ba266d0

View file

@ -811,7 +811,6 @@ FGGlobals::loadUserSettings(SGPath userDataPath)
been loaded. */
SGPropertyNode* ai = autosave.getNode("ai");
if (ai) {
SGPropertyNode* ai_models = ai->getNode("models");
ai->removeChildren("models");
}
copyProperties(&autosave, globals->get_props());