From: adrian Date: Thu, 24 Nov 2011 03:38:15 +0000 (+0200) Subject: add to CMake X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=322a15f8da7eb2ba73f29ff28e4caee9d373eac1;p=flightgear.git add to CMake --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3edc66fae..f3ebefd91 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -6,6 +6,7 @@ include_directories(${PROJECT_SOURCE_DIR}) foreach( mylibfolder Airports Aircraft + Radio ATC ATCDCL Autopilot diff --git a/src/Radio/radio.cxx b/src/Radio/radio.cxx index c1ca246b1..fdd8dd416 100644 --- a/src/Radio/radio.cxx +++ b/src/Radio/radio.cxx @@ -177,7 +177,7 @@ double FGRadio::ITM_calculate_attenuation(SGGeod pos, double freq, double course = SGGeodesy::courseRad(own_pos_c, sender_pos_c); double distance_m = SGGeodesy::distanceM(own_pos, sender_pos); double probe_distance = 0.0; - // If distance larger than this value (300 km), assume reception imposssible to preserve resources + // If distance larger than this value (300 km), assume reception imposssible if (distance_m > 300000) return -1.0; // If above 9000, consider LOS mode and calculate free-space att