summaryrefslogtreecommitdiff
path: root/src/gui/setup_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_audio.cpp')
-rw-r--r--src/gui/setup_audio.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp
index 476d7b9a..9da74c2e 100644
--- a/src/gui/setup_audio.cpp
+++ b/src/gui/setup_audio.cpp
@@ -28,8 +28,6 @@
#include "gui/widgets/layouthelper.h"
#include "gui/widgets/slider.h"
-#include "engine.h"
-#include "map.h"
#include "configuration.h"
#include "log.h"
#include "sound.h"
@@ -90,9 +88,6 @@ void Setup_Audio::apply()
try
{
sound.init();
- Map *currentMap = engine->getCurrentMap();
- if (currentMap)
- sound.playMusic(currentMap->getProperty("music"));
}
catch (const char *err)
{