1
0
Fork 0

Fix windows build

This commit is contained in:
Torsten Dreyer 2011-12-13 20:48:50 +01:00
parent 9491c2ea76
commit 196cfdb569

View file

@ -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);
}