Minor property name change to avoid some minor confusion.
This commit is contained in:
parent
80e8647330
commit
dc5397b33b
2 changed files with 2 additions and 3 deletions
|
@ -256,7 +256,7 @@ static void net2global( FGNetFDM *net ) {
|
|||
net->v_wind_body_east,
|
||||
net->v_wind_body_down );
|
||||
|
||||
fgSetDouble( "/sim/aero/alarms/stall-warning", net->stall_warning );
|
||||
fgSetDouble( "/sim/alarms/stall-warning", net->stall_warning );
|
||||
cur_fdm_state->_set_Accels_Pilot_Body( net->A_X_pilot,
|
||||
net->A_Y_pilot,
|
||||
net->A_Z_pilot );
|
||||
|
|
|
@ -151,8 +151,7 @@ FGJSBsim::FGJSBsim( double dt )
|
|||
aileron_trim = fgGetNode("/fdm/trim/aileron", true );
|
||||
rudder_trim = fgGetNode("/fdm/trim/rudder", true );
|
||||
|
||||
|
||||
stall_warning = fgGetNode("/sim/aero/alarms/stall-warning",true);
|
||||
stall_warning = fgGetNode("/sim/alarms/stall-warning",true);
|
||||
stall_warning->setDoubleValue(0);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue