]> git.mxchange.org Git - flightgear.git/commitdiff
#769: fix glideslope reception
authorThorstenB <brehmt@gmail.com>
Mon, 18 Jun 2012 22:41:52 +0000 (00:41 +0200)
committerThorstenB <brehmt@gmail.com>
Mon, 18 Jun 2012 22:41:52 +0000 (00:41 +0200)
Add missing frequency update.

src/Instrumentation/navradio.cxx

index 47fe9617a279aa983bb6d847f41628713e003853..e560652c77b2a7fe30debe48cdb10430ef8c1237 100644 (file)
@@ -887,6 +887,7 @@ void FGNavRadio::search()
   // do we need to search a new NAV station in this iteration?
   if (_nav_search)
   {
+      _last_freq = freq;
       FGNavRecord* nav = findPrimaryNavaid(globals->get_aircraft_position(), freq);
       if (nav == _navaid) {
         if (nav && (nav->type() != FGPositioned::VOR))