aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiEngine.cpp
diff options
context:
space:
mode:
authornOOb3167 <nOOb3167@gmail.com>2018-03-23 15:31:43 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-03-23 15:31:43 +0100
commit9293d8e2715f3e883fee4c0ed617636a785f20d1 (patch)
tree9e0254d79454ed1b105a4678f90dfdecefdb74bf /src/gui/guiEngine.cpp
parent9fcc0c1217fcd3acabaa11239631de10032fa126 (diff)
downloadminetest-9293d8e2715f3e883fee4c0ed617636a785f20d1.tar.gz
minetest-9293d8e2715f3e883fee4c0ed617636a785f20d1.tar.bz2
minetest-9293d8e2715f3e883fee4c0ed617636a785f20d1.zip
Global initialization of sound using SoundManagerGlobal (#7063)
* Global initialization of sound using SoundManagerGlobal
Diffstat (limited to 'src/gui/guiEngine.cpp')
-rw-r--r--src/gui/guiEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiEngine.cpp b/src/gui/guiEngine.cpp
index 3f9bcd888..00c3f85bc 100644
--- a/src/gui/guiEngine.cpp
+++ b/src/gui/guiEngine.cpp
@@ -137,7 +137,7 @@ GUIEngine::GUIEngine(JoystickController *joystick,
//create soundmanager
MenuMusicFetcher soundfetcher;
#if USE_SOUND
- m_sound_manager = createOpenALSoundManager(&soundfetcher);
+ m_sound_manager = createOpenALSoundManager(g_sound_manager_singleton.get(), &soundfetcher);
#endif
if(!m_sound_manager)
m_sound_manager = &dummySoundManager;