]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navrecord.cxx
commradio: improvements for atis speech
[flightgear.git] / src / Navaids / navrecord.cxx
index 37bd5a194aea4f83221831c42b0f4a7189283e8c..fabc9a0d08ffe4c6ab6129e200439daf30422b0d 100644 (file)
@@ -213,8 +213,7 @@ void FGMobileNavRecord::updatePos()
       : _vehicle_node->getDoubleValue("position/altitude-ft")
     ));
   else
-    // If no match was found set 'invalid' position (lat = lon = 0)
-    modifyPosition(SGGeod());
+    invalidatePosition();
 
   serviceable = _vehicle_node.valid();
 }