- fixed: Polymost must set the viewpoint if renderers are switched.

- fixed coordinate order in renderSetViewpoint
- fixed backwall checks accidentally testing wall 0 instead of the current wall.
This commit is contained in:
Christoph Oelckers 2021-03-18 00:28:38 +01:00
parent 493294909b
commit 2d958745b4
3 changed files with 4 additions and 2 deletions

View file

@ -921,7 +921,7 @@ void HWWall::DoMidTexture(HWDrawInfo* di, walltype* wal,
//==========================================================================
void HWWall::Process(HWDrawInfo *di, walltype *wal, sectortype* frontsector, sectortype* backsector)
{
auto backwall = wall->nextwall >= 0 && wall->nextwall < numwalls? &wall[wal->nextwall] : nullptr;
auto backwall = wal->nextwall >= 0 && wal->nextwall < numwalls? &wall[wal->nextwall] : nullptr;
auto p2wall = &wall[wal->point2];
float fch1;