- added render workaround for CP07.

This commit is contained in:
Christoph Oelckers 2021-05-03 17:48:35 +02:00
parent d8b808576f
commit d206a767b2
8 changed files with 185 additions and 17 deletions

View file

@ -453,6 +453,8 @@ void engineLoadBoard(const char* filename, int flags, vec3_t* pos, int16_t* ang,
G_LoadMapHack(filename, md4);
setWallSectors();
hw_BuildSections();
sectorGeometry.SetSize(numsections);
memcpy(wallbackup, wall, sizeof(wallbackup));
memcpy(sectorbackup, sector, sizeof(sectorbackup));
@ -491,5 +493,4 @@ void setWallSectors()
wall[sector[i].wallptr + w].sector = i;
}
}
sectorGeometry.SetSize(numsectors);
}