From bd55b2d573612d133b81324545f52fb85e2e490c Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 12 Jan 2019 00:22:14 +0000 Subject: [PATCH] I honestly can't remember why I wrote this like this, but it's problematic so I'm changing it. git-svn-id: https://svn.eduke32.com/eduke32@7309 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/audiolib/src/multivoc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/audiolib/src/multivoc.cpp b/source/audiolib/src/multivoc.cpp index ff60602da..c1e6c6925 100644 --- a/source/audiolib/src/multivoc.cpp +++ b/source/audiolib/src/multivoc.cpp @@ -743,7 +743,7 @@ int32_t MV_SetPan(int32_t handle, int32_t vol, int32_t left, int32_t right) if (voice == NULL) return MV_Error; - MV_SetVoiceVolume(voice, vol, left, right, MV_GetVoice(handle)->volume); + MV_SetVoiceVolume(voice, vol, left, right, voice->volume); MV_EndService(); return MV_Ok; }