mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
- Fixed: S_StartNamedSound() looked for SECF_SILENT in MoreFlags instead of Flags.
SVN r1004 (trunk)
This commit is contained in:
parent
496e28aa7a
commit
0395b26d23
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue