mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 15:21:48 +00:00
- fixed missing speech at the end of E1L2.
This was caused by a broken check for adult mode. Fixes #33.
This commit is contained in:
parent
e9b3e8ae09
commit
5faf202b97
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ int S_PlaySound(int sndnum, int channel, EChanFlags flags)
|
|||
if (!soundEngine->isValidSoundId(sndnum+1) || !SoundEnabled()) return -1;
|
||||
|
||||
int userflags = S_GetUserFlags(sndnum);
|
||||
if ((!(snd_speech & 1) && (userflags & SF_TALK)) || ((userflags & SF_ADULT)))
|
||||
if ((!(snd_speech & 1) && (userflags & SF_TALK)))
|
||||
return -1;
|
||||
|
||||
int const pitch = S_GetPitch(sndnum);
|
||||
|
|
Loading…
Reference in a new issue