- Increased the limit for 'imp/active' to 6. This sound definitely benefits

from a higher limit.
- Fixed: $limit should not apply to sounds played from the menu.
- Fixed: The SNDSEQ parser tried to set bDoorSound before actually creating
  the sound sequence data.


SVN r852 (trunk)
This commit is contained in:
Christoph Oelckers 2008-03-25 12:21:30 +00:00
commit f9b05c2b0c
4 changed files with 19 additions and 11 deletions

View file

@ -708,7 +708,7 @@ static void S_StartSound (fixed_t *pt, AActor *mover, int channel,
// If this sound doesn't like playing near itself, don't play it if
// that's what would happen.
if (sfx->NearLimit && S_CheckSoundLimit(sfx, pos))
if (sfx->NearLimit && pt != NULL && S_CheckSoundLimit(sfx, pos))
return;
// Make sure the sound is loaded.