From db1cf63e7a416d7a83dcf2d93f993377d0138bef Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 7 May 2021 00:23:56 +0200 Subject: [PATCH] - SW: fixed bad type for ceiling portals. --- source/games/sw/src/rooms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {