- 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
|
|
@ -218,9 +218,9 @@ void P_LineOpening (FLineOpening &open, AActor *actor, const line_t *linedef, co
|
|||
}
|
||||
else
|
||||
{
|
||||
if ((front->floorplane.a | front->floorplane.b) == 0)
|
||||
if (!front->floorplane.isSlope())
|
||||
usefront = true;
|
||||
else if ((back->floorplane.a | front->floorplane.b) == 0)
|
||||
else if (!back->floorplane.isSlope())
|
||||
usefront = false;
|
||||
else
|
||||
usefront = !P_PointOnLineSide (*ref, linedef);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue