diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 3d955b9e2..e9d1263bc 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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 diff --git a/src/s_sound.cpp b/src/s_sound.cpp index 4f72bac8c..b9cc4f864 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -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; }