- 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
parent ae3f50d1b2
commit f22adcc398
2 changed files with 13 additions and 2 deletions

View file

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

View file

@ -53,7 +53,11 @@ A80E7EE40E0D0C76A6FBD242BE29FE27 // map15
5C594C67CF7721005DE71429F9811370 // Eternal Doom map03
{
stairs
// fix broken staircase. The compatibility option is not sufficient
// to reliably handle this so clear the tags from the unwanted sectors.
setsectortag 212 0
setsectortag 213 0
setsectortag 214 0
}
6DA6FCBA8089161BDEC6A1D3F6C8D60F // Eternal Doom MAP25