1
0
Fork 0

For ADA fdm turn on hud for center channel.

This commit is contained in:
curt 2001-09-19 22:27:08 +00:00
parent b991f8fd96
commit f2e89407d2

View file

@ -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;
}