]> git.mxchange.org Git - flightgear.git/commitdiff
Add a property which specifies if the current nav station has a glideslope.
authorcurt <curt>
Sat, 29 Mar 2003 03:19:03 +0000 (03:19 +0000)
committercurt <curt>
Sat, 29 Mar 2003 03:19:03 +0000 (03:19 +0000)
src/Cockpit/navcom.cxx

index 6391c5d120b8b974ed7dc4574d10a47c29fda839..3f8f21aee6db7666e3ec13ef1e18a98162a51e9b 100644 (file)
@@ -192,6 +192,9 @@ FGNavCom::bind ()
     sprintf( propname, "/radios/nav[%d]/heading-needle-deflection", index );
     fgTie( propname, this, &FGNavCom::get_nav_heading_needle_deflection );
 
+    sprintf( propname, "/radios/nav[%d]/has-gs", index );
+    fgTie( propname, this, &FGNavCom::get_nav_has_gs );
+
     sprintf( propname, "/radios/nav[%d]/gs-needle-deflection", index );
     fgTie( propname, this, &FGNavCom::get_nav_gs_needle_deflection );