From: mfranz Date: Fri, 21 Dec 2007 12:03:10 +0000 (+0000) Subject: s/no-warning/depreciated/, so people adding that to custom huds understand X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ac892c23e9e7e354e74fd34a41ee77da48d13fc;p=flightgear.git s/no-warning/depreciated/, so people adding that to custom huds understand better what they are doing :-) --- diff --git a/src/Cockpit/hud.cxx b/src/Cockpit/hud.cxx index a0445d50d..35513b45c 100644 --- a/src/Cockpit/hud.cxx +++ b/src/Cockpit/hud.cxx @@ -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());