Moved the PointInSector functions into FLevelLocals
This commit is contained in:
parent
68667e5eaa
commit
60873bc5d6
38 changed files with 167 additions and 162 deletions
|
|
@ -633,7 +633,7 @@ bool SightCheck::P_SightPathTraverse ()
|
|||
y1 = sightstart.Y + Startfrac * Trace.dy;
|
||||
x2 = sightend.X;
|
||||
y2 = sightend.Y;
|
||||
if (lastsector == NULL) lastsector = P_PointInSector(x1, y1);
|
||||
if (lastsector == NULL) lastsector = Level->PointInSector(x1, y1);
|
||||
|
||||
// for FF_SEETHROUGH the following rule applies:
|
||||
// If the viewer is in an area without FF_SEETHROUGH he can only see into areas without this flag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue