summaryrefslogtreecommitdiff
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-18 15:37:31 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-18 15:37:31 +0300
commit597802ff2ed096ca72ba3cc6bee095b54180d927 (patch)
treea96fa237a10970fb3a9e9c1839e7dba3004ce98d /src/audio/PolRadio.cpp
parent5c562c3adc06044a17cabb9c4785795b0d2d7fa7 (diff)
One more type fix
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r--src/audio/PolRadio.cpp4
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;