- added Floor_Stop and Ceiling_Stop action specials.
This commit is contained in:
parent
1ff4016498
commit
d5d383ee93
5 changed files with 50 additions and 0 deletions
|
|
@ -582,3 +582,18 @@ bool EV_CeilingCrushStop (int tag, bool remove)
|
|||
|
||||
return rtn;
|
||||
}
|
||||
|
||||
bool EV_StopCeiling(int tag)
|
||||
{
|
||||
FSectorTagIterator it(tag);
|
||||
while (int sec = it.Next())
|
||||
{
|
||||
if (level.sectors[sec].ceilingdata)
|
||||
{
|
||||
SN_StopSequence(&level.sectors[sec], CHAN_CEILING);
|
||||
level.sectors[sec].ceilingdata->Destroy();
|
||||
level.sectors[sec].ceilingdata = nullptr;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue