]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud.cxx
make --enable-osgviewer the default
[flightgear.git] / src / Cockpit / hud.cxx
index a0445d50d40db223c27f47737310fdff1bae3828..606a29efb5ba7878720547cb2382aeb8a51a5431 100644 (file)
@@ -63,7 +63,7 @@ static HUD_Properties *HUDprop = 0;
 
 static char units[5];
 
-deque<instr_item *> HUD_deque;
+deque<SGSharedPtr<instr_item> > HUD_deque;
 
 fgTextList HUD_TextList;
 fgLineList HUD_LineList;
@@ -191,7 +191,7 @@ int readHud( istream &input )
     SG_LOG(SG_INPUT, SG_INFO, "Read properties for  " <<
            root.getStringValue("name"));
 
-    if (!root.getNode("no-warning"))
+    if (!root.getNode("depreciated"))
         SG_LOG(SG_INPUT, SG_ALERT, "WARNING: use of depreciated old HUD");
 
     HUD_deque.erase( HUD_deque.begin(), HUD_deque.end());