From fcf6021f76e8778e406fb27576f826d02bf391c5 Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 29 Mar 2003 03:19:03 +0000 Subject: [PATCH] Add a property which specifies if the current nav station has a glideslope. --- src/Cockpit/navcom.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 );