- Renamed plane flags from SECF_* to PLANEF_*.
- Changed Heretic's plat raise type to use a flag to block further sector movement instead of keeping the dead thinker around. SVN r1853 (trunk)
This commit is contained in:
parent
555f41b0ba
commit
f3f209160e
13 changed files with 49 additions and 27 deletions
|
|
@ -300,7 +300,8 @@ bool P_AddSectorLinks(sector_t *control, int tag, INTBOOL ceiling, int movetype)
|
|||
int param = movetype;
|
||||
|
||||
// can't be done if the control sector is moving.
|
||||
if ((ceiling && control->ceilingdata) || (!ceiling && control->floordata)) return false;
|
||||
if ((ceiling && control->PlaneMoving(sector_t::ceiling)) ||
|
||||
(!ceiling && control->PlaneMoving(sector_t::floor))) return false;
|
||||
|
||||
// Make sure we have only valid combinations
|
||||
movetype &= LINK_FLAGMASK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue