Fixed obvious bug with sfx & speech volume control

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@578 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-01-25 18:02:39 +00:00
parent aaf9932f6c
commit 659dd69454
+2 -2
View File
@@ -196,13 +196,13 @@ void SetSFXVolume (float volume)
int i;
for (i = FIRST_SFX_SOURCE; i <= LAST_SFX_SOURCE; ++i)
{
alSourcef (soundSource[i].handle, AL_GAIN, sfxVolumeScale);
alSourcef (soundSource[i].handle, AL_GAIN, volume);
}
}
void SetSpeechVolume (float volume)
{
alSourcef (soundSource[SPEECH_SOURCE].handle, AL_GAIN, speechVolumeScale);
alSourcef (soundSource[SPEECH_SOURCE].handle, AL_GAIN, volume);
}