1
0
Fork 0

FGNasalModelData: use model XML path as module source

This commit is contained in:
mfranz 2009-03-23 18:40:46 +00:00 committed by Tim Moore
parent 5b32c9ab1c
commit 3930967645

View file

@ -1125,7 +1125,7 @@ void FGNasalModelData::modelLoaded(const string& path, SGPropertyNode *prop,
naRef arg[2];
arg[0] = nasalSys->propNodeGhost(_root);
arg[1] = nasalSys->propNodeGhost(prop);
nasalSys->createModule(_module.c_str(), _module.c_str(), s, strlen(s),
nasalSys->createModule(_module.c_str(), path.c_str(), s, strlen(s),
_root, 2, arg);
_props = 0;
}