- some more portal preparation .
This commit is contained in:
parent
d5a1004c41
commit
c338b9cde3
7 changed files with 66 additions and 0 deletions
|
|
@ -5532,6 +5532,7 @@ bool P_ChangeSector(sector_t *sector, int crunch, int amt, int floorOrCeil, bool
|
|||
}
|
||||
}
|
||||
} while (n);
|
||||
sec->CheckPortalPlane(!floorOrCeil);
|
||||
}
|
||||
}
|
||||
P_Recalculate3DFloors(sector); // Must recalculate the 3d floor and light lists
|
||||
|
|
@ -5595,6 +5596,8 @@ bool P_ChangeSector(sector_t *sector, int crunch, int amt, int floorOrCeil, bool
|
|||
}
|
||||
} while (n); // repeat from scratch until all things left are marked valid
|
||||
|
||||
sector->CheckPortalPlane(floorOrCeil); // check for portal obstructions after everything is done.
|
||||
|
||||
if (!cpos.nofit && !isreset /* && sector->MoreFlags & (SECF_UNDERWATERMASK)*/)
|
||||
{
|
||||
// If this is a control sector for a deep water transfer, all actors in affected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue