From e76a6df9093e5c7c878ac27780b944d7ed22e4fe Mon Sep 17 00:00:00 2001 From: Durk Talsma Date: Fri, 15 May 2015 21:42:10 +0200 Subject: [PATCH] Temporary fix: ground networks are not loaded when a navcache is present. But, the AI/ATC code relies on radio frequencies listed in the groundnet files. Since these are not imported into the nav cache, they remain 0. By forcing the loading of the ground networks, I have the frequencies back. We should find a proper solution later. --- src/Airports/xmlloader.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Airports/xmlloader.cxx b/src/Airports/xmlloader.cxx index 8291358b4..a4dddabc6 100644 --- a/src/Airports/xmlloader.cxx +++ b/src/Airports/xmlloader.cxx @@ -50,9 +50,9 @@ void XMLLoader::load(FGAirportDynamics* d) } flightgear::NavDataCache* cache = flightgear::NavDataCache::instance(); - if (!cache->isCachedFileModified(path) || cache->isReadOnly()) { - return; - } + //if (!cache->isCachedFileModified(path) || cache->isReadOnly()) { + // return; + //} SG_LOG(SG_NAVAID, SG_INFO, "reading groundnet data from " << path); SGTimeStamp t; -- 2.39.5