From: mfranz Date: Fri, 21 Dec 2007 11:39:51 +0000 (+0000) Subject: depreciation warning for users of old custom HUDs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=57f4876c59ecee0c4049647519559ead9fc854a9;p=flightgear.git depreciation warning for users of old custom HUDs --- diff --git a/src/Cockpit/hud.cxx b/src/Cockpit/hud.cxx index 5a2bfc48f..a0445d50d 100644 --- a/src/Cockpit/hud.cxx +++ b/src/Cockpit/hud.cxx @@ -191,6 +191,8 @@ int readHud( istream &input ) SG_LOG(SG_INPUT, SG_INFO, "Read properties for " << root.getStringValue("name")); + if (!root.getNode("no-warning")) + SG_LOG(SG_INPUT, SG_ALERT, "WARNING: use of depreciated old HUD"); HUD_deque.erase( HUD_deque.begin(), HUD_deque.end());