summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-18 14:37:31 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-18 14:37:31 +0200
commit597802ff2ed096ca72ba3cc6bee095b54180d927 (patch)
treea96fa237a10970fb3a9e9c1839e7dba3004ce98d /src/audio
parentMore type fixes in audio (diff)
downloadre3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar.gz
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar.bz2
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar.lz
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar.xz
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.tar.zst
re3-597802ff2ed096ca72ba3cc6bee095b54180d927.zip
Diffstat (limited to '')
-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;