mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix activated MUSICANDSFX wrongly being looped, introduced in r3631.
git-svn-id: https://svn.eduke32.com/eduke32@3632 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a6a4e30bbc
commit
e3ae81262e
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ int32_t S_PlaySound3D(int32_t num, int32_t i, const vec3_t *pos)
|
||||||
{
|
{
|
||||||
// Ambient MUSICANDSFX always start playing using the 3D routines!
|
// Ambient MUSICANDSFX always start playing using the 3D routines!
|
||||||
voice = FX_PlayAuto3D(g_sounds[num].ptr, g_sounds[num].soundsiz,
|
voice = FX_PlayAuto3D(g_sounds[num].ptr, g_sounds[num].soundsiz,
|
||||||
ambsfxp ? FX_LOOP : FX_ONESHOT,
|
repeatp ? FX_LOOP : FX_ONESHOT,
|
||||||
pitch, sndang>>4, sndist>>6,
|
pitch, sndang>>4, sndist>>6,
|
||||||
g_sounds[num].pr, (num * MAXSOUNDINSTANCES) + j);
|
g_sounds[num].pr, (num * MAXSOUNDINSTANCES) + j);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue