]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/cockpit.cxx
Propogate colocated dme flag.
[flightgear.git] / src / Cockpit / cockpit.cxx
index ed832c5ad9ff49e0268d7c15c7a00c8168897cec..4b381f3714ea671eda5cb3fd781adf0eee9d6abd 100644 (file)
@@ -459,10 +459,6 @@ bool fgCockpitInit( fgAIRCRAFT *cur_aircraft )
     fgHUDInit( cur_aircraft );
     ac_cockpit = new fg_Cockpit();
     
-    if ( current_options.get_panel_status() ) {
-        new FGPanel;
-    }
-
     // Have to set the LatLon display type
     fgLatLonFormat = toDM;
     
@@ -535,5 +531,5 @@ void fgCockpitUpdate( void ) {
     
     xglViewport( 0, 0, iwidth, iheight );
 
-    current_panel.update();
+    current_panel->update();
 }