From d8d3889452339c7bf4e8eda4d9b0aa39a23101b3 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 25 Feb 2016 13:36:27 +0100 Subject: [PATCH] - removed PortalGroup == 0 check. This would only be valid if there's only linked portals in the map. --- src/portal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portal.cpp b/src/portal.cpp index 8c8032f7e..8446b3151 100644 --- a/src/portal.cpp +++ b/src/portal.cpp @@ -692,7 +692,7 @@ void P_NormalizeVXVY(fixed_t& vx, fixed_t& vy) fixedvec2 P_GetOffsetPosition(AActor *actor, fixed_t dx, fixed_t dy) { fixedvec3 dest = { actor->X() + dx, actor->Y() + dy }; - if (PortalBlockmap.containsLines && actor->Sector->PortalGroup != 0) + if (PortalBlockmap.containsLines) { fixed_t actx = actor->X(), acty = actor->Y(); FLinePortalTraverse it;