]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_dnst.cxx
Fix two bugs in the new autopilot code
[flightgear.git] / src / Cockpit / hud_dnst.cxx
index b1adb4fb3cdcc9d37ff5e1fec17e43e549954f5a..9dbb190f4c72ccd23cfba6bdab85384ac2ed9d26 100644 (file)
@@ -1,9 +1,6 @@
-
 #include "hud.hxx"
 
 
-//============ Top of dual_instr_item class member definitions ============
-
 dual_instr_item::dual_instr_item(
         int          x,
         int          y,
@@ -12,17 +9,11 @@ dual_instr_item::dual_instr_item(
         FLTFNPTR     chn1_source,
         FLTFNPTR     chn2_source,
         bool         working,
-        UINT         options ) :
-    instr_item( x, y, width, height,
-                chn1_source, options, working),
-                alt_data_source( chn2_source )
+        UINT         options) :
+    instr_item(x, y, width, height,
+                chn1_source, 1, options, working),
+                alt_data_source(chn2_source)
 {
 }
 
 
-dual_instr_item::dual_instr_item( const dual_instr_item & image) :
-    instr_item ((instr_item &) image ),
-    alt_data_source( image.alt_data_source)
-{
-}
-