aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2004-01-29 18:15:27 +0000
committerMax Horn2004-01-29 18:15:27 +0000
commit176aa74827decbeb3efee979b34599e109a863a2 (patch)
tree45126cfdf07959df5af6a7c76370376b4c225106 /sword2
parentbcedf44957cf0a688ad1a6a455f5f095d3ebd7d3 (diff)
downloadscummvm-rg350-176aa74827decbeb3efee979b34599e109a863a2.tar.gz
scummvm-rg350-176aa74827decbeb3efee979b34599e109a863a2.tar.bz2
scummvm-rg350-176aa74827decbeb3efee979b34599e109a863a2.zip
Renamed the 'pan' effect of the mixer to 'balance', since that is what we actually do; applied patch #886786 which corrects a bug in the balance code
svn-id: r12665
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/d_sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 41d7630b07..83af1fc3a2 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -952,7 +952,7 @@ int32 Sound::setFxIdVolumePan(int32 id, uint8 vol, int8 pan) {
if (!_fxMuted) {
_vm->_mixer->setChannelVolume(_fx[i]._handle, _fx[i]._volume * _fxVol);
- _vm->_mixer->setChannelPan(_fx[i]._handle, _panTable[pan + 16]);
+ _vm->_mixer->setChannelBalance(_fx[i]._handle, _panTable[pan + 16]);
}
return RD_OK;