Add additional check for comments with ().

Required for map.ini file included with mustard.

svn-id: r17783
This commit is contained in:
Travis Howell 2005-04-24 03:58:12 +00:00
parent 2a14ff0a1a
commit 43286fc880

View File

@ -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;