mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- SW: fixed bad type for ceiling portals.
This commit is contained in:
parent
b644000b02
commit
db1cf63e7a
1 changed files with 1 additions and 1 deletions
|
@ -1182,7 +1182,7 @@ void CollectPortals()
|
||||||
auto pt2 = findother(pt.othersector);
|
auto pt2 = findother(pt.othersector);
|
||||||
if (pt2)
|
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);
|
allPortals[pnum].targets = std::move(pt2->sectors);
|
||||||
for (auto sec : pt.sectors)
|
for (auto sec : pt.sectors)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue