- 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
|
|
@ -1107,7 +1107,7 @@ void R_SetupFrame (AActor *actor)
|
|||
viewside = plane->PointOnSide(viewx, viewy, viewz);
|
||||
// Reverse the direction of the test if the plane was downward facing.
|
||||
// We want to know if the view is above it, whatever its orientation may be.
|
||||
if (plane->c < 0)
|
||||
if (plane->fC() < 0)
|
||||
viewside = -viewside;
|
||||
if (viewside > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue