aircraft models this is only called if they are loaded as AI, not if they
are the model flown by the human pilot. This has technical reasons (too
soon for Nasal/fg), but is useful to distinguish AI and non-AI use, for
example to set a different livery for AI models, or to set different
animation properties.
#include <Main/globals.hxx>
#include <Scenery/scenery.hxx>
+#include <Scripting/NasalSys.hxx>
#include "AIBase.hxx"
model = sgLoad3DModel(fg_root,
path,
prop_root,
- sim_time_sec);
+ sim_time_sec, 0,
+ new FGNasalModelData);
manager->setModel(path, model);
}