diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-12 19:10:24 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:46:21 +0200 |
commit | ba2340800733526fe765f79f2c1ff2bbf705c64f (patch) | |
tree | 3594f475ca185108306f92fa236f6eebdf9d369c /src | |
parent | forgot (diff) | |
download | re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar.gz re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar.bz2 re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar.lz re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar.xz re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.tar.zst re3-ba2340800733526fe765f79f2c1ff2bbf705c64f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/AudioLogic.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/AudioLogic.cpp b/src/audio/AudioLogic.cpp index 128f7615..19294103 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -7889,12 +7889,12 @@ cPedComments::Process() } // Switch bank - if (m_nActiveBank) { - actualUsedBank = SFX_BANK_PED_COMMENTS; - m_nActiveBank = SFX_BANK_0; + if (m_nActiveBank == 0) { + actualUsedBank = 0; + m_nActiveBank = 1; } else { - actualUsedBank = SFX_BANK_0; - m_nActiveBank = SFX_BANK_PED_COMMENTS; + actualUsedBank = 1; + m_nActiveBank = 0; } comment = m_asPedComments[actualUsedBank]; for (uint32 i = 0; i < m_nCommentsInBank[actualUsedBank]; i++) { |