Update nasal function name.
This commit is contained in:
parent
f55f96c44a
commit
babb51ba02
2 changed files with 2 additions and 4 deletions
src
|
@ -902,7 +902,6 @@ void FGRenderer::setFOV( float w, float h ) {
|
|||
// accumulate hacked effects
|
||||
ssgSetFOV( w, h );
|
||||
ssgSetNearFar( near, far );
|
||||
|
||||
fgHackFrustum();
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue