]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATC.cxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / ATC / ATC.cxx
index 11705bdee545977484baf9ec5ca2735466a23878..38af59ef5fe116dd3cd664b9dfbb9721dd1daf5b 100644 (file)
@@ -74,7 +74,7 @@ void FGATC::Render(string msg, string refname, bool repeating) {
                int len;
                unsigned char* buf = vPtr->WriteMessage((char*)msg.c_str(), len, voice);
                if(voice) {
-                       SimpleSound* simple = new SimpleSound(buf, len);
+                       SGSimpleSound* simple = new SGSimpleSound(buf, len);
                        // TODO - at the moment the volume is always set off comm1 
                        // and can't be changed after the transmission has started.
                        simple->set_volume(5.0 * fgGetDouble("/radios/comm[0]/volume"));