Fix the sounds at the end of the episode 3 cutscene.

git-svn-id: https://svn.eduke32.com/eduke32@5153 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2015-04-18 21:37:13 +00:00
parent 2a65ba123c
commit d320ea6d70

View file

@ -893,5 +893,5 @@ int32_t A_CheckAnySoundPlaying(int32_t i)
int32_t S_CheckSoundPlaying(int32_t i, int32_t num) int32_t S_CheckSoundPlaying(int32_t i, int32_t num)
{ {
if (EDUKE32_PREDICT_FALSE((unsigned)num > (unsigned)g_maxSoundPos)) return 0; if (EDUKE32_PREDICT_FALSE((unsigned)num > (unsigned)g_maxSoundPos)) return 0;
return (i == -1) ? (g_soundlocks[num] >= 200) : g_sounds[num].num; return (i == -1) ? (g_soundlocks[num] > 200) : g_sounds[num].num;
} }