]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.cxx
Make several assumptions:
[flightgear.git] / src / Sound / fg_fx.cxx
index 939e2c8c606f0a366651179a09dc27f665bcca5a..6b1a16eb3e897410b9d415926a4f6f0eba0892c5 100644 (file)
 #endif
 
 #include <simgear/debug/logstream.hxx>
-#include <simgear/misc/exception.hxx>
+#include <simgear/structure/exception.hxx>
 #ifdef __BORLANDC__
 #  define exception c_exception
 #endif
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
-#include <simgear/sound/sound.hxx>
+#include <simgear/sound/xmlsound.hxx>
 
 #include <Main/fg_props.hxx>
 
@@ -76,7 +76,7 @@ FGFX::init()
 
    node = root.getNode("fx");
    for (i = 0; i < node->nChildren(); i++) {
-      SGSound *sound = new SGSound();
+      SGXmlSound *sound = new SGXmlSound();
 
       sound->init(globals->get_props(), node->getChild(i),
                   globals->get_soundmgr(), globals->get_fg_root());