Fix max iterator value in InitialisePoliceRadio

This commit is contained in:
Filip Gawin 2019-11-11 15:33:24 +01:00 committed by GitHub
parent 0df15bb73d
commit de09fc0225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {