mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
- Blood: Remove duplicated code from render3DViewPolymost()
that's already performed in viewDrawScreen()
.
This commit is contained in:
parent
61cafc7d57
commit
73c5bef580
1 changed files with 0 additions and 12 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue