From 628d23a68803b1518de38625059d25f374d04cf5 Mon Sep 17 00:00:00 2001 From: Nikolay Ambartsumov Date: Sun, 18 Oct 2020 05:29:09 +0300 Subject: [PATCH] Fix crossing multiple lineportals on same tic --- src/playsim/p_map.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playsim/p_map.cpp b/src/playsim/p_map.cpp index 9270c3786..824bba9b4 100644 --- a/src/playsim/p_map.cpp +++ b/src/playsim/p_map.cpp @@ -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) {