aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/saga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/saga.cpp')
-rw-r--r--engines/saga/saga.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 567491b481..e2e44d5c0e 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -224,15 +224,17 @@ int SagaEngine::init() {
_gfx->initPalette();
- if (getGameType() == GType_IHNM) {
- if (!ConfMan.hasKey("voices")) {
- _voicesEnabled = true;
- ConfMan.setBool("voices", true);
+ if (_voiceFilesExist) {
+ if (getGameType() == GType_IHNM) {
+ if (!ConfMan.hasKey("voices")) {
+ _voicesEnabled = true;
+ ConfMan.setBool("voices", true);
+ } else {
+ _voicesEnabled = ConfMan.getBool("voices");
+ }
} else {
- _voicesEnabled = ConfMan.getBool("voices");
+ _voicesEnabled = true;
}
- } else {
- _voicesEnabled = true;
}
// FIXME: This is the ugly way of reducing redraw overhead. It works