]> git.mxchange.org Git - flightgear.git/commitdiff
Compile without ENABLE_FLITE
authorTorsten Dreyer <torsten@t3r.de>
Wed, 7 May 2014 17:07:29 +0000 (19:07 +0200)
committerTorsten Dreyer <torsten@t3r.de>
Wed, 7 May 2014 17:07:29 +0000 (19:07 +0200)
src/Instrumentation/commradio.cxx

index 5555d47e0b3bb93ddf5bde6d54db9c3c1ba750de..899e8f73a270e2c4dace4a3417ddb43bc0dd15d7 100644 (file)
@@ -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: {