mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- 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:
parent
ae3f50d1b2
commit
f22adcc398
2 changed files with 13 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue