diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-09-02 18:22:29 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-09-02 18:22:29 +0200 |
commit | 3569b7edfeb805931352a4f236d862063d33756c (patch) | |
tree | e6995ca67c8caa49a96ef88867d6f818b4b880fa /src | |
parent | Fix reflection counter (diff) | |
download | re3-3569b7edfeb805931352a4f236d862063d33756c.tar re3-3569b7edfeb805931352a4f236d862063d33756c.tar.gz re3-3569b7edfeb805931352a4f236d862063d33756c.tar.bz2 re3-3569b7edfeb805931352a4f236d862063d33756c.tar.lz re3-3569b7edfeb805931352a4f236d862063d33756c.tar.xz re3-3569b7edfeb805931352a4f236d862063d33756c.tar.zst re3-3569b7edfeb805931352a4f236d862063d33756c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/sampman_oal.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp index 4b79401d..d59b86e6 100644 --- a/src/audio/sampman_oal.cpp +++ b/src/audio/sampman_oal.cpp @@ -1470,7 +1470,10 @@ cSampleManager::InitialiseChannel(uint32 nChannel, uint32 nSfx, uint8 nBank) slot += ARRAY_SIZE(nPedSlotSfx); #endif if ( nSfx == nPedSlotSfx[slot] ) + { addr = (nSampleBankMemoryStartAddress[SFX_BANK_PED_COMMENTS] + PED_BLOCKSIZE * slot); + break; + } } if (i == _TODOCONST(3)) |