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:34:33 +0200 |
commit | 0f0cb40151714cb72688736f96058a4ed60568c8 (patch) | |
tree | d37109b01c939d04956a420c769beaf8e3cffb5b /src | |
parent | forgot (diff) | |
download | re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar.gz re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar.bz2 re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar.lz re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar.xz re3-0f0cb40151714cb72688736f96058a4ed60568c8.tar.zst re3-0f0cb40151714cb72688736f96058a4ed60568c8.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 9c272f36..e4340bdc 100644 --- a/src/audio/AudioLogic.cpp +++ b/src/audio/AudioLogic.cpp @@ -7892,12 +7892,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++) { |