1
0
Fork 0

add to CMake

This commit is contained in:
adrian 2011-11-24 05:38:15 +02:00
parent b55fd4de91
commit 322a15f8da
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ include_directories(${PROJECT_SOURCE_DIR})
foreach( mylibfolder
Airports
Aircraft
Radio
ATC
ATCDCL
Autopilot

View 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