diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/setup_audio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp index 28a80b3d..6b9c49f7 100644 --- a/src/gui/setup_audio.cpp +++ b/src/gui/setup_audio.cpp @@ -30,6 +30,8 @@ #include "../configuration.h" #include "../log.h" #include "../sound.h" +#include "../map.h" +#include "../engine.h" #include "../utils/gettext.h" @@ -88,6 +90,8 @@ void Setup_Audio::apply() new OkDialog("Sound Engine", err); logger->log("Warning: %s", err); } + Map *currentMap = engine->getCurrentMap(); + sound.playMusic(currentMap->getProperty("music"), -1); } else { |