Fix windows build
This commit is contained in:
parent
9491c2ea76
commit
196cfdb569
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ void FGRadioAntenna::load_NEC_antenna_pattern(string type) {
|
|||
//cerr << "head: " << heading << " elev: " << elevation << " gain: " << gain << endl;
|
||||
AntennaGain *datapoint = new AntennaGain;
|
||||
datapoint->azimuth = heading;
|
||||
datapoint->elevation = 90.0 - fabs(elevation);
|
||||
datapoint->elevation = 90.0 - abs(elevation);
|
||||
datapoint->gain = gain;
|
||||
_pattern.push_back(datapoint);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue