1
0
Fork 0

Export the gear compression to the property tree.

This commit is contained in:
andy 2002-03-04 07:57:43 +00:00
parent 536e95b63d
commit b9d1cad6f2

View file

@ -420,6 +420,7 @@ void YASim::copyFromYASim()
SGPropertyNode * node = fgGetNode("gear/gear", i, true);
node->setBoolValue("has-brake", g->getBrake() != 0);
node->setBoolValue("wow", g->getCompressFraction() != 0);
node->setFloatValue("compression-norm", g->getCompressFraction());
}
for(i=0; i<model->numThrusters(); i++) {