1
0
Fork 0

Fix a couple typos.

This commit is contained in:
curt 2005-04-19 01:41:17 +00:00
parent 142854d3d1
commit a69bc500ef

View file

@ -191,12 +191,9 @@ void FGProps2NetCtrls( FGNetCtrls *net, bool honor_freezes,
= node->getChild("copilot-brake-right")->getDoubleValue();
net->brake_parking = node->getChild("brake-parking")->getDoubleValue();
net->gear_handle = fgGetBool( "controls/gear/gear-down" );
net->gear_handle = fgGetBool( "/controls/gear/gear-down" );
tempnode = node->getChild("master-avionics");
if ( tempnode != NULL ) {
net->master_avionics = tempnode->getBoolValue();
}
net->master_avionics = fgGetBool("/controls/switches/master-avionics");
net->wind_speed_kt = fgGetDouble("/environment/wind-speed-kt");
net->wind_dir_deg = fgGetDouble("/environment/wind-from-heading-deg");