summaryrefslogtreecommitdiff
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
parent1610d325dcea7f3626099cbc43d0bce344ee477e (diff)
Fix police radio condition
thx @Nick007J
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);