summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-26 15:20:36 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-26 15:20:36 +0200
commit28bb221f7e44c03ae30b69a96a56bc467319a8ef (patch)
treedd1855b4e9fdff0c0b30128583004312e527d062 /src
parentAdded timing to RwTextureGtaStreamRead (diff)
downloadre3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar.gz
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar.bz2
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar.lz
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar.xz
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.tar.zst
re3-28bb221f7e44c03ae30b69a96a56bc467319a8ef.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/AudioManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 1428bb9f..c8e2656a 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -9174,7 +9174,7 @@ void
cAudioManager::AdjustSamplesVolume()
{
for(int i = 0; i < m_bSampleRequestQueuesStatus[m_bActiveSampleQueue]; i++) {
- tActiveSample *pSample = &m_asSamples[i][(int32)m_abSampleQueueIndexTable[i] + 1];
+ tActiveSample* pSample = &m_asSamples[m_bActiveSampleQueue][m_abSampleQueueIndexTable[m_bActiveSampleQueue][i] + 1];
if(!pSample->m_bBankIndex) // all non-speech sounds on PC
pSample->m_bEmittingVolume = ComputeEmittingVolume(