]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIPlane.cxx
Recent SimGear changes seem to require more additions of config.h to FG in order...
[flightgear.git] / src / ATC / AIPlane.cxx
index a20bffcb35426dea8722c4b9569fcf0ac24f4258..8158a008881cd8474110bf2fab5c59401433c480 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #include <Main/globals.hxx>
 #include <Main/fg_props.hxx>
@@ -182,6 +182,7 @@ void FGAIPlane::ProcessCallback(int code) {
 // The refname is a string to identify this sample to the sound manager
 // The repeating flag indicates whether the message should be repeated continuously or played once.
 void FGAIPlane::Render(const string& refname, bool repeating) {
+       fgSetString("/sim/messages/ai-plane", pending_transmission.c_str());
 #ifdef ENABLE_AUDIO_SUPPORT
        voice = (voiceOK && fgGetBool("/sim/sound/voice"));
        if(voice) {