1
0
Fork 0

Renamed /cockpit property to /sim/view/internal.

This commit is contained in:
david 2002-03-15 21:50:14 +00:00
parent b933406818
commit 96a4e9abc3
2 changed files with 2 additions and 2 deletions

View file

@ -584,7 +584,7 @@ void fgRenderFrame( void ) {
double agl = current_aircraft.fdm_state->get_Altitude() * SG_FEET_TO_METER
- scenery.get_cur_elev();
if (fgGetBool("/cockpit"))
if (fgGetBool("/sim/view/internal"))
ssgSetNearFar( 0.2f, 120000.0f );
else if ( agl > 10.0)
ssgSetNearFar( 10.0f, 120000.0f );

View file

@ -152,7 +152,7 @@ FGAircraftModel::update (int dt)
int view_number = globals->get_viewmgr()->get_current();
if (view_number == 0 && !fgGetBool("cockpit")) {
if (view_number == 0 && !fgGetBool("/sim/view/internal")) {
_selector->select(false);
} else {
for (unsigned int i = 0; i < _animations.size(); i++)