]> git.mxchange.org Git - flightgear.git/commitdiff
Cleaned up initialization of parking brake to be more consistent.
authordavid <david>
Fri, 26 Apr 2002 01:53:41 +0000 (01:53 +0000)
committerdavid <david>
Fri, 26 Apr 2002 01:53:41 +0000 (01:53 +0000)
src/Controls/controls.cxx

index 100bb8dbb89627a99688a7e41d9a520de22d7abb..a3fc7df782c52a657441b3c65f934105facd30b0 100644 (file)
@@ -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);
 }