diff options
author | Travis Howell | 2005-04-16 14:45:21 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-16 14:45:21 +0000 |
commit | 471a58680ddbe7a7704ae8d4a4223f8c495568d8 (patch) | |
tree | cf63f004ad0d8a6131cff2c6d17790ca43e891cb /scumm | |
parent | a117f4f832627b32ef005e9e1ff23f6d67aea68a (diff) | |
download | scummvm-rg350-471a58680ddbe7a7704ae8d4a4223f8c495568d8.tar.gz scummvm-rg350-471a58680ddbe7a7704ae8d4a4223f8c495568d8.tar.bz2 scummvm-rg350-471a58680ddbe7a7704ae8d4a4223f8c495568d8.zip |
Filter out extra path setting and useless setting when writing INIs details in HE games.
svn-id: r17629
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v72he.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9bf5407209..3d2bdd6c66 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -2141,6 +2141,11 @@ void ScummEngine_v72he::o72_writeINI() { case 7: // string copyScriptString(string, sizeof(string)); copyScriptString(option, sizeof(option)); + + // Filter out confusing or useless settings + if (!strcmp((char *)option, "HETest") || !strcmp((char *)option, "SaveGamePath")) + return; + ConfMan.set((char *)option, (char *)string); break; default: |