Moved the PointInSector functions into FLevelLocals
This commit is contained in:
parent
68667e5eaa
commit
60873bc5d6
38 changed files with 167 additions and 162 deletions
|
|
@ -153,7 +153,7 @@ bool P_CheckSwitchRange(AActor *user, line_t *line, int sideno, const DVector3 *
|
|||
// if the polyobject lies directly on a sector boundary
|
||||
check.X = dll.x + dll.dx * (inter + 0.01);
|
||||
check.Y = dll.y + dll.dy * (inter + 0.01);
|
||||
front = P_PointInSector(check);
|
||||
front = line->GetLevel()->PointInSector(check);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue