Fix a couple typos.
This commit is contained in:
parent
142854d3d1
commit
a69bc500ef
1 changed files with 2 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue