]> git.mxchange.org Git - flightgear.git/commit
Partial fix for #228: ambiguous navaid-names
authorTorsten Dreyer <Torsten@t3r.de>
Mon, 18 Jul 2011 09:09:43 +0000 (11:09 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Mon, 18 Jul 2011 09:09:43 +0000 (11:09 +0200)
commitc6d5b6ebdb34954ca9fc43bb49ace4b6d3b47754
tree6fcf1c535492755f31595aa3241ef795dbc15ffa
parent24383e51941e52adf7e12181e4000b5d71e1bad3
Partial fix for #228: ambiguous navaid-names

This fixes at least the startup process.
If an ambigous fix name was presented with --vor=ID or --ndb=ID
present a list of matching records along with frequency and
position in the console to give the user the chance to pick
the correct one by adding the frequency with --vor-frequency=nnn.nn

It does not yes solve the issue when the user relocates using the
GUI dialog. This requires some GUI and Nasal hacking along with a
new Nasal helper function "navaidinfo".
src/Main/fg_init.cxx
src/Main/options.cxx
src/Navaids/navlist.cxx
src/Navaids/navlist.hxx