mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +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
|
||||
- Fixed: S_StartNamedSound() looked for SECF_SILENT in MoreFlags instead of
|
||||
Flags.
|
||||
- Fixed: DSBarInfo::updateState() sprung leaks and didn't allocate enough
|
||||
space for the fullStateName string.
|
||||
- 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;
|
||||
|
||||
if (name == NULL ||
|
||||
(ent != NULL && ent->Sector->MoreFlags & SECF_SILENT))
|
||||
if (name == NULL || (ent != NULL && ent->Sector->Flags & SECF_SILENT))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue