1
0
Fork 0

depreciation warning for users of old custom HUDs

This commit is contained in:
mfranz 2007-12-21 11:39:51 +00:00
parent bcebdaa053
commit 57f4876c59

View file

@ -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());