From 02df1d063c9bf127a6e5d4fddda0c1823aa5d1bf Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 8 May 2005 12:10:57 +0000 Subject: Add more dutch versions. Fix duplicate subtitle setting. svn-id: r17956 --- scumm/script_v72he.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'scumm/script_v72he.cpp') 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; -- cgit v1.2.3