- be more thorough with Eternal Doom MAP03. The compatibility option does not seem to fully solve the problem, so let's just clear the tags in the bogus stair sectors.

This commit is contained in:
Christoph Oelckers 2016-05-18 21:06:07 +02:00
commit f22adcc398
2 changed files with 13 additions and 2 deletions

View file

@ -555,7 +555,14 @@ void SetCompatibilityParams()
if ((unsigned)CompatParams[i + 1] < (unsigned)numsectors)
{
// this assumes that the sector does not have any tags yet!
tagManager.AddSectorTag(CompatParams[i + 1], CompatParams[i + 2]);
if (CompatParams[i + 2] == 0)
{
tagManager.RemoveSectorTags(CompatParams[i + 1]);
}
else
{
tagManager.AddSectorTag(CompatParams[i + 1], CompatParams[i + 2]);
}
}
i += 3;
break;