]> git.mxchange.org Git - flightgear.git/commitdiff
Associate non-ILS localisers with their runway.
authorjmt <jmt>
Wed, 16 Sep 2009 00:23:34 +0000 (00:23 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 17 Sep 2009 20:51:44 +0000 (22:51 +0200)
src/Navaids/navrecord.cxx

index 2029d2b7d3e004a2aa10c6b4c0de1432251f6741..49b62424453938f3dbe6a300e7722f76b7cd8797 100644 (file)
@@ -101,7 +101,7 @@ void FGNavRecord::initAirportRelation()
     mPosition.setElevationFt(mRunway->elevation());
   }
   
-  if (type() == ILS) {
+  if (type() == ILS || type() == LOC) {
     mRunway->setILS(this);
   }