aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/init_v3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/init_v3.cpp')
-rw-r--r--engines/gob/init_v3.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/gob/init_v3.cpp b/engines/gob/init_v3.cpp
index c96005ed5a..4a2379bad0 100644
--- a/engines/gob/init_v3.cpp
+++ b/engines/gob/init_v3.cpp
@@ -28,6 +28,7 @@
#include "gob/gob.h"
#include "gob/init.h"
#include "gob/game.h"
+#include "gob/global.h"
namespace Gob {
@@ -37,6 +38,14 @@ Init_v3::Init_v3(GobEngine *vm) : Init_v2(vm) {
Init_v3::~Init_v3() {
}
+void Init_v3::updateConfig() {
+// In the CD version of Goblins3, some texts are flagged 'subtitles'
+// incorrectly and therefore should be displayed in all cases.
+// The first obvious example is just after Death level.
+ if ((_vm->getGameType() == kGameTypeGob3) && _vm->isCD())
+ _vm->_global->_doSubtitles = true;
+}
+
void Init_v3::initVideo() {
Init_v2::initVideo();