summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-02-22 19:47:42 +0100
committerGitHub <noreply@github.com>2020-02-22 19:47:42 +0100
commitc92dfb0064143e03d1d75315c43840eeaf27e167 (patch)
treefc875374d387540fa7979d32a2ee70bc23542d66 /src/audio/AudioManager.cpp
parentMerge pull request #329 from erorcun/erorcun (diff)
downloadre3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar.gz
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar.bz2
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar.lz
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar.xz
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.tar.zst
re3-c92dfb0064143e03d1d75315c43840eeaf27e167.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-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 89abee8d..ff7babc4 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -4676,7 +4676,7 @@ cAudioManager::ProcessMissionAudio()
--nCheckPlayingDelay;
} else if(GetMissionScriptPoliceAudioPlayingStatus() ==
2 ||
- --m_sMissionAudio.field_24) {
+ m_sMissionAudio.field_24-- == 0) {
m_sMissionAudio.m_bPlayStatus = 2;
m_sMissionAudio.m_nSampleIndex = 3033;
SampleManager.StopStreamedFile(1);