]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/gps.cxx
Add a *really* crude model of ITT, Oil Temp, and Oil Pressure. This
[flightgear.git] / src / Instrumentation / gps.cxx
index 9e2e9cdf493d1de2e819a8fcb9db38cbc5f120a3..b8dcb6d58d58c0a76c2e3c89125ec6eed7df7864 100644 (file)
@@ -44,9 +44,9 @@ GPS::GPS ( SGPropertyNode *node)
         } else if ( cname == "number" ) {
             num = child->getIntValue();
         } else {
-            SG_LOG( SG_AUTOPILOT, SG_WARN, "Error in gps config logic" );
+            SG_LOG( SG_INSTR, SG_WARN, "Error in gps config logic" );
             if ( name.length() ) {
-                SG_LOG( SG_AUTOPILOT, SG_WARN, "Section = " << name );
+                SG_LOG( SG_INSTR, SG_WARN, "Section = " << name );
             }
         }
     }
@@ -692,6 +692,7 @@ GPS::update (double delta_time_sec)
             popWp->setBoolValue(false);
 
             route->delete_first();
+           _route->removeChild("Waypoint", 0, false);
         }
 
     } else {