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.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 178c6ca602..755c777398 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -2190,8 +2190,12 @@ void ScummEngine_v72he::o72_writeINI() {
copyScriptString(string, sizeof(string));
copyScriptString(option, sizeof(option));
- // Filter out confusing or useless settings
- if (!strcmp((char *)option, "HETest") || !strcmp((char *)option, "SaveGamePath"))
+ // Filter out useless settings
+ if (!strcmp((char *)option, "HETest"))
+ return;
+
+ // Filter out confusing path settings
+ if (!strcmp((char *)option, "DownLoadPath") || !strcmp((char *)option, "GameResourcePath") || !strcmp((char *)option, "SaveGamePath"))
return;
ConfMan.set((char *)option, (char *)string);