- Fixed: S_StartNamedSound() looked for SECF_SILENT in MoreFlags instead of Flags.

SVN r1004 (trunk)
This commit is contained in:
Randy Heit 2008-05-31 01:44:11 +00:00
parent 496e28aa7a
commit 0395b26d23
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,6 @@
May 30, 2008 May 30, 2008
- Fixed: S_StartNamedSound() looked for SECF_SILENT in MoreFlags instead of
Flags.
- Fixed: DSBarInfo::updateState() sprung leaks and didn't allocate enough - Fixed: DSBarInfo::updateState() sprung leaks and didn't allocate enough
space for the fullStateName string. space for the fullStateName string.
- Disabled DUMB's mono destination mixers. It's not like I'm ever going to - Disabled DUMB's mono destination mixers. It's not like I'm ever going to

View file

@ -881,8 +881,7 @@ void S_StartNamedSound (AActor *ent, fixed_t *pt, int channel,
{ {
int sfx_id; int sfx_id;
if (name == NULL || if (name == NULL || (ent != NULL && ent->Sector->Flags & SECF_SILENT))
(ent != NULL && ent->Sector->MoreFlags & SECF_SILENT))
{ {
return; return;
} }