On second thought, let's only delete BLOCKMAP and REJECT before nodebuilding.

This commit is contained in:
MascaraSnake 2016-09-17 19:26:15 +02:00
parent f4b747a9d9
commit a1850cd82c

View file

@ -1368,8 +1368,8 @@ namespace CodeImp.DoomBuilder
//so it will just stay there, possibly messing things up)
if(group.Value.NodeBuild && (!glnodesonly || group.Key.ToUpperInvariant().StartsWith("GL_"))) continue;
//Skip lumps that aren't required.
if (!group.Value.Required) continue;
//SRB2: Skip BLOCKMAP and REJECT to prevent outdated data from persisting.
if (General.Map.SRB2 && (group.Key.ToUpperInvariant() == "BLOCKMAP" || group.Key.ToUpperInvariant() == "REJECT")) continue;
string lumpname = group.Key;
if(lumpname == CONFIG_MAP_HEADER) lumpname = mapname;