Skip to content

Commit

Permalink
Fix crossing multiple lineportals on same tic
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-ambar authored and coelckers committed Oct 19, 2020
1 parent 34a8a93 commit 628d23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/playsim/p_map.cpp
Expand Up @@ -2467,6 +2467,7 @@ bool P_TryMove(AActor *thing, const DVector2 &pos,
P_FindFloorCeiling(thing);
portalcrossed = true;
tm.portalstep = false;
tm.pos += port->mDisplacement;
}
else if (!portalcrossed)
{
Expand Down

0 comments on commit 628d23a

Please sign in to comment.