]> git.mxchange.org Git - flightgear.git/commitdiff
Whoops, type codes for localizers and ILSs were swapped in the nav.dat reader
authorjmt <jmt>
Thu, 11 Jun 2009 22:54:51 +0000 (22:54 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 15 Jun 2009 08:29:44 +0000 (10:29 +0200)
src/Navaids/navdb.cxx

index add542987d80ce01a0b10ba0adf41115cfe1a0b0..f7c0cd8e1733f5502486c699ee0c08ff2ea4a3b9 100644 (file)
@@ -51,8 +51,8 @@ mapRobinTypeToFGPType(int aTy)
  // case 1:
   case 2: return FGPositioned::NDB;
   case 3: return FGPositioned::VOR;
-  case 4: return FGPositioned::LOC;
-  case 5: return FGPositioned::ILS;
+  case 4: return FGPositioned::ILS;
+  case 5: return FGPositioned::LOC;
   case 6: return FGPositioned::GS;
   case 12:
   case 13: return FGPositioned::DME;