- Fixed parsing of 'cluster' keyword when format is not yet known.

SVN r1419 (trunk)
This commit is contained in:
Christoph Oelckers 2009-02-09 00:11:07 +00:00
parent 9d5b92d231
commit e55a97a18e
1 changed files with 1 additions and 1 deletions

View File

@ -1779,7 +1779,7 @@ void FMapInfoParser::ParseMapInfo (int lump, level_info_t &gamedefaults)
}
// clusterdef is the old keyword but the new format has enough
// structuring that 'cluster' can be handled, too. The old format does not.
else if (sc.Compare("clusterdef") || (format_type == FMT_New && sc.Compare("cluster")))
else if (sc.Compare("clusterdef") || (format_type != FMT_Old && sc.Compare("cluster")))
{
ParseCluster();
}