diff options
-rw-r--r-- | common/config-file.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/config-file.cpp b/common/config-file.cpp index 877beafce7..daaf068955 100644 --- a/common/config-file.cpp +++ b/common/config-file.cpp @@ -94,6 +94,11 @@ bool ConfigFile::loadFromStream(SeekableReadStream &stream) { // of the 'comment' variable with that entity. comment += buf; comment += "\n"; + } else if (buf[0] == '(') { + // Special case for map.ini included in mustard + // Includes comment within () on the first line + comment += buf; + comment += "\n"; } else if (buf[0] == '[') { // It's a new section which begins here. char *p = buf + 1; |