1
0
Fork 0

YASIM add a local var

This commit is contained in:
Henning Stahlke 2017-11-29 17:59:01 +01:00
parent 5aead123fc
commit b2000e1cca

View file

@ -529,11 +529,12 @@ void Airplane::compile()
int i;
for(i=0; i<_vstabs.size(); i++)
{
Wing* vs = (Wing*)_vstabs.get(i);
if (baseN != 0) {
_wingsN = baseN->getChild("stab", i, true);
((Wing*)_vstabs.get(i))->setPropertyNode(_wingsN);
vs->setPropertyNode(_wingsN);
}
aeroWgt += compileWing((Wing*)_vstabs.get(i));
aeroWgt += compileWing(vs);
}
// The fuselage(s)