For ADA fdm turn on hud for center channel.
This commit is contained in:
parent
b991f8fd96
commit
f2e89407d2
1 changed files with 6 additions and 0 deletions
|
@ -239,6 +239,12 @@ do_view_cycle (const SGPropertyNode * arg, SGCommandState ** state)
|
|||
{
|
||||
globals->get_current_view()->set_view_offset(0.0);
|
||||
globals->set_current_view(globals->get_viewmgr()->next_view());
|
||||
if ( fgGetString("/sim/flight-model") == "ada" ) {
|
||||
globals->get_props()->setBoolValue( "/sim/hud/visibility", true );
|
||||
if ( globals->get_viewmgr()->get_current() == 1 ) {
|
||||
globals->get_props()->setBoolValue( "/sim/hud/visibility", false );
|
||||
}
|
||||
}
|
||||
// fgReshape(fgGetInt("/sim/startup/xsize"), fgGetInt("/sim/startup/ysize"));
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue