]> git.mxchange.org Git - flightgear.git/commitdiff
Update nasal function name.
authorcurt <curt>
Fri, 25 Mar 2005 01:37:58 +0000 (01:37 +0000)
committercurt <curt>
Fri, 25 Mar 2005 01:37:58 +0000 (01:37 +0000)
src/Main/renderer.cxx
src/Network/ATC-Main.cxx

index da3f0569657a5f3487d34372912dc5c4f667a1e2..35aade424eccf5b140ac45d535bb93e6dce51b6d 100644 (file)
@@ -902,7 +902,6 @@ void FGRenderer::setFOV( float w, float h ) {
     // accumulate hacked effects
     ssgSetFOV( w, h );
     ssgSetNearFar( near, far );
-
     fgHackFrustum();
 }
 
index e291bb22b216934c04fe959cbc057388681b6247..84ecf326ed0d575986d1ce8c475a3e2e96acd625 100644 (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