mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
Fix crossing multiple lineportals on same tic
This commit is contained in:
parent
34a8a9302f
commit
628d23a688
1 changed files with 1 additions and 0 deletions
|
@ -2467,6 +2467,7 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
|
||||||
P_FindFloorCeiling(thing);
|
P_FindFloorCeiling(thing);
|
||||||
portalcrossed = true;
|
portalcrossed = true;
|
||||||
tm.portalstep = false;
|
tm.portalstep = false;
|
||||||
|
tm.pos += port->mDisplacement;
|
||||||
}
|
}
|
||||||
else if (!portalcrossed)
|
else if (!portalcrossed)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue