]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/KLN89/kln89_page_vor.cxx
Remove all name and spatial queries from FGNavList. All remaining queries are
[flightgear.git] / src / Instrumentation / KLN89 / kln89_page_vor.cxx
index 1b9fb0ace4ac329faff6106460b39694221fc19c..c0caaba722929a532baffab36fdb25eb8c8e31ad 100644 (file)
@@ -92,7 +92,7 @@ void KLN89VorPage::Update(double dt) {
                        //// TODO - will almost certainly have to process freq below for FG
                        _kln89->DrawFreq(np->get_freq(), 2, 9, 3);
                        // TODO - trim VOR-DME from the name, convert to uppercase, abbreviate, etc
-                       _kln89->DrawText(np->get_name(), 2, 0, 2);
+                       _kln89->DrawText(np->name(), 2, 0, 2);
                        //cout << np->lat << "... ";
                        _kln89->DrawLatitude(np->get_lat(), 2, 3, 1);
                        _kln89->DrawLongitude(np->get_lon(), 2, 3, 0);