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
This commit is contained in:
terminx 2019-01-12 00:22:14 +00:00
parent 5f141ed8d6
commit bd55b2d573

View file

@ -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;
}