From 8b411b244b8415edf1579175e7876ea736bc4acd Mon Sep 17 00:00:00 2001 From: david Date: Fri, 26 Apr 2002 01:53:41 +0000 Subject: [PATCH] Cleaned up initialization of parking brake to be more consistent. --- src/Controls/controls.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); } -- 2.39.5