From 1c8c74fc76296057b2ef16de8a045555aebb43ce Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Wed, 7 May 2014 19:07:29 +0200 Subject: [PATCH] Compile without ENABLE_FLITE --- src/Instrumentation/commradio.cxx | 2 ++ 1 file changed, 2 insertions(+) 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: {