if( fgGetBool( "/sim/radio/use-itm-attenuation", false ) ) {
//cerr << "Using ITM radio propagation" << endl;
- FGRadio* radio = new FGRadio();
+ FGRadioTransmission* radio = new FGRadioTransmission();
SGGeod sender_pos;
double sender_alt_ft, sender_alt;
if(ground_to_air) {
rec->getLatitude(), sender_alt );
}
double frequency = ((double)stationFreq) / 100;
- radio->receiveText(sender_pos, frequency, text, ground_to_air);
+ radio->receiveATC(sender_pos, frequency, text, ground_to_air);
delete radio;
}
else {