From: curt Date: Sat, 29 Mar 2003 03:19:03 +0000 (+0000) Subject: Add a property which specifies if the current nav station has a glideslope. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcf6021f76e8778e406fb27576f826d02bf391c5;p=flightgear.git Add a property which specifies if the current nav station has a glideslope. --- diff --git a/src/Cockpit/navcom.cxx b/src/Cockpit/navcom.cxx index 6391c5d12..3f8f21aee 100644 --- a/src/Cockpit/navcom.cxx +++ b/src/Cockpit/navcom.cxx @@ -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 );