Handle level check in texture coordinate calculation
This commit is contained in:
parent
473892dede
commit
f823e57446
6 changed files with 17 additions and 21 deletions
|
|
@ -2640,7 +2640,7 @@ static void Vec2OffsetZ(FLevelLocals *Level, double x, double y, double dx, doub
|
|||
}
|
||||
else
|
||||
{
|
||||
DVector2 v = level.GetPortalOffsetPosition(x, y, dx, dy);
|
||||
DVector2 v = Level->GetPortalOffsetPosition(x, y, dx, dy);
|
||||
*result = (DVector3(v, atz));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue