From e3ae81262eff975abb80707b14d22b6a4df141e9 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sun, 31 Mar 2013 22:29:30 +0000 Subject: [PATCH] Fix activated MUSICANDSFX wrongly being looped, introduced in r3631. git-svn-id: https://svn.eduke32.com/eduke32@3632 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/sounds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/sounds.c b/polymer/eduke32/source/sounds.c index 062441c0b..0f02eff6a 100644 --- a/polymer/eduke32/source/sounds.c +++ b/polymer/eduke32/source/sounds.c @@ -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! 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, g_sounds[num].pr, (num * MAXSOUNDINSTANCES) + j); }