1
0
Fork 0

Compile without ENABLE_FLITE

This commit is contained in:
Torsten Dreyer 2014-05-07 19:07:29 +02:00
parent 4cdb5ed1f3
commit 1c8c74fc76

View file

@ -546,7 +546,9 @@ void CommRadioImpl::update(double dt)
_stationName = _commStationForFrequency->ident(); _stationName = _commStationForFrequency->ident();
_airportId = _commStationForFrequency->airport()->getId(); _airportId = _commStationForFrequency->airport()->getId();
#if defined(ENABLE_FLITE)
_atisSpeaker.setStationId(_airportId); _atisSpeaker.setStationId(_airportId);
#endif
switch (_commStationForFrequency->type()) { switch (_commStationForFrequency->type()) {
case FGPositioned::FREQ_ATIS: case FGPositioned::FREQ_ATIS:
case FGPositioned::FREQ_AWOS: { case FGPositioned::FREQ_AWOS: {