mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- fixed: The FPathTraverse call in P_UsePuzzleItem was missing the PT_DELTA flag.
This commit is contained in:
parent
e72bfa8add
commit
ae6df617ba
1 changed files with 1 additions and 1 deletions
|
@ -5002,7 +5002,7 @@ bool P_UsePuzzleItem(AActor *PuzzleItemUser, int PuzzleItemType)
|
||||||
start = PuzzleItemUser->GetPortalTransition(PuzzleItemUser->Height / 2);
|
start = PuzzleItemUser->GetPortalTransition(PuzzleItemUser->Height / 2);
|
||||||
end = PuzzleItemUser->Angles.Yaw.ToVector(usedist);
|
end = PuzzleItemUser->Angles.Yaw.ToVector(usedist);
|
||||||
|
|
||||||
FPathTraverse it(start.X, start.Y, end.X, end.Y, PT_ADDLINES | PT_ADDTHINGS);
|
FPathTraverse it(start.X, start.Y, end.X, end.Y, PT_DELTA | PT_ADDLINES | PT_ADDTHINGS);
|
||||||
intercept_t *in;
|
intercept_t *in;
|
||||||
|
|
||||||
while ((in = it.Next()))
|
while ((in = it.Next()))
|
||||||
|
|
Loading…
Reference in a new issue