- SW: fixed bad type for ceiling portals.

This commit is contained in:
Christoph Oelckers 2021-05-07 00:23:56 +02:00
parent b644000b02
commit db1cf63e7a

View file

@ -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)
{