aboutsummaryrefslogtreecommitdiff
path: root/common/config-file.cpp
diff options
context:
space:
mode:
authorMax Horn2006-01-21 11:57:19 +0000
committerMax Horn2006-01-21 11:57:19 +0000
commit2f8dacd6173568fdaa850650c4ce46222ae99196 (patch)
treeef880e1727bb36f5cff136a79cf5e92b29c53cf5 /common/config-file.cpp
parent9660020ccba75a7229a89847045f6a1c9d1695b3 (diff)
downloadscummvm-rg350-2f8dacd6173568fdaa850650c4ce46222ae99196.tar.gz
scummvm-rg350-2f8dacd6173568fdaa850650c4ce46222ae99196.tar.bz2
scummvm-rg350-2f8dacd6173568fdaa850650c4ce46222ae99196.zip
Clarified comment, cleanup
svn-id: r20111
Diffstat (limited to 'common/config-file.cpp')
-rw-r--r--common/config-file.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp
index 3a31db7879..06b545e6ec 100644
--- a/common/config-file.cpp
+++ b/common/config-file.cpp
@@ -95,8 +95,13 @@ bool ConfigFile::loadFromStream(SeekableReadStream &stream) {
comment += buf;
comment += "\n";
} else if (buf[0] == '(') {
- // Special case for map.ini included in mustard
- // Includes comment within () on the first line
+ // HACK: The following is a hack added by Kirben to support the
+ // "map.ini" used in the HE SCUMM game "Spy Fox in Hold the Mustard".
+ //
+ // It would be nice if this hack could be restricted to that game,
+ // but the current design of this class doesn't allow to do that
+ // in a nice fashion (a "isMustard" parameter is *not* a nice
+ // solution).
comment += buf;
comment += "\n";
} else if (buf[0] == '[') {