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
|
// accumulate hacked effects
|
||||||
ssgSetFOV( w, h );
|
ssgSetFOV( w, h );
|
||||||
ssgSetNearFar( near, far );
|
ssgSetNearFar( near, far );
|
||||||
|
|
||||||
fgHackFrustum();
|
fgHackFrustum();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue