Fix crossing multiple lineportals on same tic

This commit is contained in:
Nikolay Ambartsumov 2020-10-18 05:29:09 +03:00 committed by Christoph Oelckers
parent 34a8a9302f
commit 628d23a688

View file

@ -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)
{