Allow audio to be enabled in the menu.

Previously, if it was disabled at first, enabling it wouldn't work - you
still would not get the audio.
This commit is contained in:
Unknown W. Brackets 2015-08-30 10:05:13 -07:00
parent bbde0919d8
commit 58b5a74748

View file

@ -185,11 +185,6 @@ void SetBackgroundAudioGame(const std::string &path) {
return;
}
if (!g_Config.bEnableSound) {
ClearBackgroundAudio();
return;
}
ClearBackgroundAudio();
gameLastChanged = time_now_d();
bgGamePath = path;