summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-11-11 15:33:24 +0100
committerGitHub <noreply@github.com>2019-11-11 15:33:24 +0100
commitde09fc022574a491a54ff489e1e489ca7383f67c (patch)
tree502025d7e9b141adf8f044fd6d54f458b333bd72
parent0df15bb73dbdf352f92bc522c7b5c102f1e33ba5 (diff)
Fix max iterator value in `InitialisePoliceRadio`
-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 a6f357c2..6a37e462 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -2602,7 +2602,7 @@ cAudioManager::InitialisePoliceRadio()
SampleManager.SetChannelReverbFlag(policeChannel, 0);
gSpecialSuspectLastSeenReport = 0;
- for(int32 i = 0; i < 18; i++) { gMinTimeToNextReport[i] = m_nTimeOfRecentCrime; }
+ for(int32 i = 0; i < 17; i++) { gMinTimeToNextReport[i] = m_nTimeOfRecentCrime; }
}
struct tPoliceRadioZone {