From e55a97a18e75ceb080aa2aa5ed948f19abbedfb8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 9 Feb 2009 00:11:07 +0000 Subject: [PATCH] - Fixed parsing of 'cluster' keyword when format is not yet known. SVN r1419 (trunk) --- src/g_mapinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_mapinfo.cpp b/src/g_mapinfo.cpp index e2d7bb631..8a480d984 100644 --- a/src/g_mapinfo.cpp +++ b/src/g_mapinfo.cpp @@ -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(); }