From: david Date: Fri, 26 Apr 2002 01:53:41 +0000 (+0000) Subject: Cleaned up initialization of parking brake to be more consistent. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b411b244b8415edf1579175e7876ea736bc4acd;p=flightgear.git Cleaned up initialization of parking brake to be more consistent. --- diff --git a/src/Controls/controls.cxx b/src/Controls/controls.cxx index 100bb8dbb..a3fc7df78 100644 --- a/src/Controls/controls.cxx +++ b/src/Controls/controls.cxx @@ -59,7 +59,10 @@ FGControls::FGControls() : elevator_trim( 0.0 ), rudder( 0.0 ), rudder_trim( 0.0 ), - throttle_idle( true ) + flaps( 0.0 ), + parking_brake( 0.0 ), + throttle_idle( true ), + gear_down( false ) { } @@ -100,7 +103,6 @@ FGControls::init () brake[wheel] = 0.0; } - parking_brake = 0.0; auto_coordination = fgGetNode("/sim/auto-coordination", true); }