1
0
Fork 0

Update nasal function name.

This commit is contained in:
curt 2005-03-25 01:37:58 +00:00
parent f55f96c44a
commit babb51ba02
2 changed files with 2 additions and 4 deletions

View file

@ -902,7 +902,6 @@ void FGRenderer::setFOV( float w, float h ) {
// accumulate hacked effects
ssgSetFOV( w, h );
ssgSetNearFar( near, far );
fgHackFrustum();
}

View file

@ -211,10 +211,9 @@ bool FGATCMain::process() {
// directly provide.
FGNasalSys *n = (FGNasalSys*)globals->get_subsystem("nasal");
bool result = n->parseAndRun( "atcsim.do_hardware()" );
bool result = n->parseAndRun( "atcsim.update()" );
if ( !result ) {
SG_LOG( SG_GENERAL, SG_ALERT,
"Nasal: atcsim.do_hardware() failed!" );
SG_LOG( SG_GENERAL, SG_ALERT, "Nasal: atcsim.update() failed!" );
}
// process the ATC outputs