mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- Fixed parsing of 'cluster' keyword when format is not yet known.
SVN r1419 (trunk)
This commit is contained in:
parent
9d5b92d231
commit
e55a97a18e
1 changed files with 1 additions and 1 deletions
|
@ -1779,7 +1779,7 @@ void FMapInfoParser::ParseMapInfo (int lump, level_info_t &gamedefaults)
|
||||||
}
|
}
|
||||||
// clusterdef is the old keyword but the new format has enough
|
// clusterdef is the old keyword but the new format has enough
|
||||||
// structuring that 'cluster' can be handled, too. The old format does not.
|
// 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();
|
ParseCluster();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue