- added workaround to render the crane in WT's 'Docks' map correctly.

This one violates engine specifications by creating overlapping walls when the crane is rotated.
This commit is contained in:
Christoph Oelckers 2022-06-26 09:36:01 +02:00
parent eb8fae761e
commit 9e6fe2cbaa
6 changed files with 10 additions and 3 deletions

View file

@ -190,6 +190,10 @@ static int32_t LoadMapHack(const char *filename, SpawnSpriteDef& sprites)
hw_SetSplitSector(currentsector, start, end);
}
}
else if (sc.Compare("dontclip"))
{
sector[currentsector].exflags |= SECTOREX_DONTCLIP;
}
else if (sc.Compare("clearflags"))
{
if (currentsector != -1 && validateSector())