- moved portal data into FLevelLocals.
This commit is contained in:
parent
65e7b6dfaa
commit
8be788a9b3
19 changed files with 138 additions and 148 deletions
|
|
@ -2017,7 +2017,7 @@ inline T VecDiff(const T& v1, const T& v2)
|
|||
|
||||
if (nullptr != sec1 && nullptr != sec2)
|
||||
{
|
||||
result += Displacements.getOffset(sec2->PortalGroup, sec1->PortalGroup);
|
||||
result += level.Displacements.getOffset(sec2->PortalGroup, sec1->PortalGroup);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue