diff options
author | Travis Howell | 2005-05-07 12:23:08 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-07 12:23:08 +0000 |
commit | a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96 (patch) | |
tree | 0ed7f925cc5f34f80949d903afa4304a427cdbf9 /scumm | |
parent | c4d2ac0eb7350721a9dfb223bb4760327fc48539 (diff) | |
download | scummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.tar.gz scummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.tar.bz2 scummvm-rg350-a0a764bb4b92bf6f0a177478e57d2f0c56cd0e96.zip |
Filter out a few more paths.
svn-id: r17943
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v72he.cpp | 8 |
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); |