]> git.mxchange.org Git - flightgear.git/commitdiff
One more minor tweak on glideslope handling when slaved to gps.
authorcurt <curt>
Fri, 10 Apr 2009 18:40:54 +0000 (18:40 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 15 Apr 2009 21:19:30 +0000 (23:19 +0200)
src/Instrumentation/navradio.cxx

index 60fd4415561b0b47ee9997ffa5f1b484beaf0825..021447007fb4d12866a5c96767f3c63e8fb9156e 100644 (file)
@@ -320,6 +320,7 @@ FGNavRadio::update(double dt)
     bool has_gs = false;
     if ( nav_slaved_to_gps_node->getBoolValue() ) {
        has_gs = gps_has_gs_node->getBoolValue();
+       has_gs_node->setBoolValue( has_gs );
        inrange = gps_to_flag_node->getBoolValue()
            || gps_from_flag_node->getBoolValue();
     } else {