1
0
Fork 0

Removed unused cur_view_fdm variable as suggested by Bernie Bright.

This commit is contained in:
david 2002-08-31 19:48:28 +00:00
parent a2d55fa81f
commit d4f92d6aff
2 changed files with 0 additions and 9 deletions

View file

@ -107,7 +107,6 @@ extern void fgInitVisuals( void );
extern void fgReshape( int width, int height );
extern void fgRenderFrame( void );
extern FGInterface cur_view_fdm;
extern void fgHUDalphaAdjust( puObject * );
// from cockpit.cxx

View file

@ -205,9 +205,6 @@ ssgSelector *fgd_sel = NULL;
ssgTransform *fgd_pos = NULL;
#endif
// current fdm/position used for view
FGInterface cur_view_fdm;
// Sky structures
SGSky *thesky;
@ -824,11 +821,6 @@ void fgUpdateTimeDepCalcs() {
globals->get_steam()->update(delta_time_sec);
}
if ( !strcmp(fgGetString("/sim/view-mode"), "pilot") ) {
cur_view_fdm = *cur_fdm_state;
// do nothing
}
globals->get_model_mgr()->update(delta_time_sec);
globals->get_aircraft_model()->update(delta_time_sec);