diff --git a/src/p_map.cpp b/src/p_map.cpp index 20796ed23d..85c3e3da80 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -6755,6 +6755,7 @@ void AActor::UpdateRenderSectorList() sec = P_PointInSector(newpos); render_sectorlist = P_AddSecnode(sec, this, render_sectorlist, sec->render_thinglist); } + sec = Sector; lasth = FLT_MAX; while (!sec->PortalBlocksMovement(sector_t::floor)) {