diff options
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r-- | src/audio/PolRadio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp index 6b663d0d..b5df5c14 100644 --- a/src/audio/PolRadio.cpp +++ b/src/audio/PolRadio.cpp @@ -27,7 +27,7 @@ char SubZo3Label[8]; uint32 g_nMissionAudioSfx = TOTAL_AUDIO_SAMPLES; int8 g_nMissionAudioPlayingStatus = PLAY_STATUS_FINISHED; -uint8 gSpecialSuspectLastSeenReport; +bool8 gSpecialSuspectLastSeenReport; uint32 gMinTimeToNextReport[NUM_CRIME_TYPES]; void @@ -248,7 +248,7 @@ cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel) } if (wantedLevel == 0) { if (gSpecialSuspectLastSeenReport) { - gSpecialSuspectLastSeenReport = 0; + gSpecialSuspectLastSeenReport = FALSE; } else if (((sample >= SFX_POLICE_RADIO_MESSAGE_NOISE_1) && (sample <= SFX_POLICE_RADIO_MESSAGE_NOISE_3)) || sample == TOTAL_AUDIO_SAMPLES) { bChannelOpen = FALSE; processed = TRUE; |