- replaced all direct access to sector plane coefficients with wrapper functions.
This commit is contained in:
parent
c7ae4688a3
commit
25f5e8449a
30 changed files with 247 additions and 246 deletions
|
|
@ -1168,7 +1168,7 @@ void R_Subsector (subsector_t *sub)
|
|||
fakeFloor = frontsector->e->XFloor.ffloors[i];
|
||||
if (!(fakeFloor->flags & FF_EXISTS)) continue;
|
||||
if (!fakeFloor->model) continue;
|
||||
if (fakeFloor->bottom.plane->a || fakeFloor->bottom.plane->b) continue;
|
||||
if (fakeFloor->bottom.plane->isSlope()) continue;
|
||||
if (!(fakeFloor->flags & FF_NOSHADE) || (fakeFloor->flags & (FF_RENDERPLANES|FF_RENDERSIDES)))
|
||||
{
|
||||
R_3D_AddHeight(fakeFloor->top.plane, frontsector);
|
||||
|
|
@ -1229,7 +1229,7 @@ void R_Subsector (subsector_t *sub)
|
|||
fakeFloor = frontsector->e->XFloor.ffloors[i];
|
||||
if (!(fakeFloor->flags & FF_EXISTS)) continue;
|
||||
if (!fakeFloor->model) continue;
|
||||
if (fakeFloor->top.plane->a || fakeFloor->top.plane->b) continue;
|
||||
if (fakeFloor->top.plane->isSlope()) continue;
|
||||
if (!(fakeFloor->flags & FF_NOSHADE) || (fakeFloor->flags & (FF_RENDERPLANES|FF_RENDERSIDES)))
|
||||
{
|
||||
R_3D_AddHeight(fakeFloor->bottom.plane, frontsector);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue