]> git.mxchange.org Git - flightgear.git/commitdiff
s/no-warning/depreciated/, so people adding that to custom huds understand
authormfranz <mfranz>
Fri, 21 Dec 2007 12:03:10 +0000 (12:03 +0000)
committermfranz <mfranz>
Fri, 21 Dec 2007 12:03:10 +0000 (12:03 +0000)
better what they are doing  :-)

src/Cockpit/hud.cxx

index a0445d50d40db223c27f47737310fdff1bae3828..35513b45c60c503642cb750ded24820e3d280a00 100644 (file)
@@ -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());