aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v72he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-08 12:10:57 +0000
committerTravis Howell2005-05-08 12:10:57 +0000
commit02df1d063c9bf127a6e5d4fddda0c1823aa5d1bf (patch)
treee0ad1f0bf5e895cd7008a727dbb872f68206d542 /scumm/script_v72he.cpp
parent1f8e813d84cd57e3af45fbc91263f3c1e0da308f (diff)
downloadscummvm-rg350-02df1d063c9bf127a6e5d4fddda0c1823aa5d1bf.tar.gz
scummvm-rg350-02df1d063c9bf127a6e5d4fddda0c1823aa5d1bf.tar.bz2
scummvm-rg350-02df1d063c9bf127a6e5d4fddda0c1823aa5d1bf.zip
Add more dutch versions.
Fix duplicate subtitle setting. svn-id: r17956
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;