Fix crash with auto-coordination. (Eg, the Beaver)
Identified by Michiel Fierst.
This commit is contained in:
parent
f651ed2f15
commit
ca632cfe4e
1 changed files with 3 additions and 1 deletions
|
@ -545,7 +545,9 @@ FGControls::move_elevator_trim( double amt )
|
|||
void FGControls::set_rudder(double pos)
|
||||
{
|
||||
_inner_set_rudder(pos);
|
||||
_rudderNode->fireValueChanged();
|
||||
if (_rudderNode) {
|
||||
_rudderNode->fireValueChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue