depreciation warning for users of old custom HUDs
This commit is contained in:
parent
bcebdaa053
commit
57f4876c59
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue