]> git.mxchange.org Git - flightgear.git/commitdiff
add to CMake
authoradrian <adrian@localhost.com>
Thu, 24 Nov 2011 03:38:15 +0000 (05:38 +0200)
committeradrian <adrian@localhost.com>
Thu, 24 Nov 2011 03:38:15 +0000 (05:38 +0200)
src/CMakeLists.txt
src/Radio/radio.cxx

index 3edc66faed106dd33e3db8dc2408f328c57ccde3..f3ebefd912be1bd11c538359004a39626ade4bc9 100644 (file)
@@ -6,6 +6,7 @@ include_directories(${PROJECT_SOURCE_DIR})
 foreach( mylibfolder 
                Airports
                Aircraft
+               Radio
                ATC
                ATCDCL
                Autopilot
index c1ca246b14e93dbc1ba3108b1f28279b3e8897da..fdd8dd41660e0c5d0210b864fe45fa3579cc8c46 100644 (file)
@@ -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