aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r--scumm/script_v72he.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 755c777398..de487d2ae8 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -2149,10 +2149,13 @@ void ScummEngine_v72he::o72_readINI() {
switch (type) {
case 43: // HE 100
case 6: // number
- if (!strcmp((char *)option, "NoPrinting"))
+ if (!strcmp((char *)option, "NoPrinting")) {
push(1);
- else
+ } else if (!strcmp((char *)option, "TextOn")) {
+ push(ConfMan.getBool("subtitles"));
+ } else {
push(ConfMan.getInt((char *)option));
+ }
break;
case 77: // HE 100
case 7: // string
@@ -2194,6 +2197,9 @@ void ScummEngine_v72he::o72_writeINI() {
if (!strcmp((char *)option, "HETest"))
return;
+ // Filter out confusing subtitle setting
+ if (!strcmp((char *)option, "TextOn"))
+
// Filter out confusing path settings
if (!strcmp((char *)option, "DownLoadPath") || !strcmp((char *)option, "GameResourcePath") || !strcmp((char *)option, "SaveGamePath"))
return;