aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/main_loop.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-07-18 16:17:39 +0200
committerSimei Yin2017-07-18 19:05:04 +0200
commit70c965a1c41a7eca454371f710288e4b5bd55947 (patch)
treebe521c0b14272cc839294337c6481ec9a9d30487 /engines/sludge/main_loop.cpp
parent5d554d36edff3b2cc03e72625f707208f5d54a3c (diff)
downloadscummvm-rg350-70c965a1c41a7eca454371f710288e4b5bd55947.tar.gz
scummvm-rg350-70c965a1c41a7eca454371f710288e4b5bd55947.tar.bz2
scummvm-rg350-70c965a1c41a7eca454371f710288e4b5bd55947.zip
SLUDGE: Remove special settings
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r--engines/sludge/main_loop.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp
index 29bbcd0f02..78ce63b6c3 100644
--- a/engines/sludge/main_loop.cpp
+++ b/engines/sludge/main_loop.cpp
@@ -20,6 +20,7 @@
*
*/
+#include "common/config-manager.h"
#include "common/debug.h"
#include "common/events.h"
#include "common/keyboard.h"
@@ -45,7 +46,6 @@
#include "sludge/sludger.h"
#include "sludge/helpers.h"
#include "sludge/sludge.h"
-#include "sludge/specialsettings.h"
namespace Sludge {
@@ -58,7 +58,6 @@ HWND hMainWindow = NULL;
int realWinWidth = 640, realWinHeight = 480;
extern float cameraZoom;
-extern int specialSettings;
extern inputType input;
extern variableStack *noStack;
Graphics::Surface renderSurface;
@@ -182,7 +181,7 @@ int main_loop(const char *filename)
g_sludge->gameName = getNumberedString(1);
- if (!(specialSettings & SPECIAL_SILENT)) {
+ if (!ConfMan.hasKey("mute") || !ConfMan.getBool("mute")) {
initSoundStuff(hMainWindow);
}