- Blood: Remove duplicated code from render3DViewPolymost() that's already performed in viewDrawScreen().

This commit is contained in:
Mitch Richters 2021-11-27 21:23:14 +11:00 committed by Christoph Oelckers
parent 61cafc7d57
commit 73c5bef580

View file

@ -130,18 +130,6 @@ void render3DViewPolymost(int nSectnum, int cX, int cY, int cZ, binangle cA, fix
renderSetAspect(v1, yxaspect);
int ceilingZ, floorZ;
getzsofslope(nSectnum, cX, cY, &ceilingZ, &floorZ);
if (cZ >= floorZ)
{
cZ = floorZ - (getUpperLink(nSectnum) ? 0 : (8 << 8));
}
if (cZ <= ceilingZ)
{
cZ = ceilingZ + (getLowerLink(nSectnum) ? 0 : (8 << 8));
}
cH = q16horiz(ClipRange(cH.asq16(), gi->playerHorizMin(), gi->playerHorizMax()));
RORHACK:
bool ror_status[16];
for (int i = 0; i < 16; i++)