From: Torsten Dreyer Date: Wed, 7 May 2014 17:07:29 +0000 (+0200) Subject: Compile without ENABLE_FLITE X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c8c74fc76296057b2ef16de8a045555aebb43ce;p=flightgear.git Compile without ENABLE_FLITE --- diff --git a/src/Instrumentation/commradio.cxx b/src/Instrumentation/commradio.cxx index 5555d47e0..899e8f73a 100644 --- a/src/Instrumentation/commradio.cxx +++ b/src/Instrumentation/commradio.cxx @@ -546,7 +546,9 @@ void CommRadioImpl::update(double dt) _stationName = _commStationForFrequency->ident(); _airportId = _commStationForFrequency->airport()->getId(); +#if defined(ENABLE_FLITE) _atisSpeaker.setStationId(_airportId); +#endif switch (_commStationForFrequency->type()) { case FGPositioned::FREQ_ATIS: case FGPositioned::FREQ_AWOS: {