- Fixed: Closing doors early would never restart the sound sequence if it was manually placed.

SVN r2150 (trunk)
This commit is contained in:
Randy Heit 2010-02-02 05:19:43 +00:00
commit ecb9d2f24b
3 changed files with 32 additions and 12 deletions

View file

@ -422,7 +422,9 @@ bool EV_DoDoor (DDoor::EVlDoor type, line_t *line, AActor *thing,
// [RH] If this sector doesn't have a specific sound
// attached to it, start the door close sequence.
// Otherwise, just let the current one continue.
if (sec->seqType == -1)
// FIXME: This should be check if the sound sequence has separate up/down
// paths, not if it was manually set.
if (sec->seqType == -1 || SN_CheckSequence(sec, CHAN_CEILING) == NULL)
{
door->DoorSound (false);
}