diff --git a/source/games/sw/src/rooms.cpp b/source/games/sw/src/rooms.cpp index 4dd1098b7..f08b972a0 100644 --- a/source/games/sw/src/rooms.cpp +++ b/source/games/sw/src/rooms.cpp @@ -1182,7 +1182,7 @@ void CollectPortals() auto pt2 = findother(pt.othersector); if (pt2) { - int pnum = portalAdd(PORTAL_SECTOR_FLOOR, -1, pt.offset.x, pt.offset.y, 0); + int pnum = portalAdd(PORTAL_SECTOR_CEILING, -1, pt.offset.x, pt.offset.y, 0); allPortals[pnum].targets = std::move(pt2->sectors); for (auto sec : pt.sectors) {