aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-05-07 12:23:08 +0000
committerTravis Howell2005-05-07 12:23:08 +0000
commita0a764bb4b92bf6f0a177478e57d2f0c56cd0e96 (patch)
tree0ed7f925cc5f34f80949d903afa4304a427cdbf9
parentc4d2ac0eb7350721a9dfb223bb4760327fc48539 (diff)
downloadscummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.tar.gz
scummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.tar.bz2
scummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.zip
Filter out a few more paths.
svn-id: r17943
-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);