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 // accumulate hacked effects
ssgSetFOV( w, h ); ssgSetFOV( w, h );
ssgSetNearFar( near, far ); ssgSetNearFar( near, far );
fgHackFrustum(); fgHackFrustum();
} }

View file

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