summaryrefslogtreecommitdiff
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-27 22:39:14 +0300
committerSergeanur <s.anureev@yandex.ua>2021-07-27 22:39:14 +0300
commitf82c3c8ea7d5296a274f9f6a8fea00bb401e09ac (patch)
tree2e6dbcf992bde9eb06a7dd7dab34046e8d876ac0 /src/audio/PolRadio.cpp
parentfbb42085bd0d300fd42b49ae5469415de153f8d5 (diff)
parent9dbaa7a77fa695154899cd559ed0af05c214a779 (diff)
Merge branch 'miami' into lcs
Diffstat (limited to 'src/audio/PolRadio.cpp')
-rw-r--r--src/audio/PolRadio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index fb2b06b4..d30b4826 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -23,7 +23,7 @@ struct tPoliceRadioZone {
tPoliceRadioZone ZoneSfx[NUMAUDIOZONES];
-int32 g_nMissionAudioSfx = TOTAL_AUDIO_SAMPLES;
+uint32 g_nMissionAudioSfx = TOTAL_AUDIO_SAMPLES;
int8 g_nMissionAudioPlayingStatus = 2;
uint8 gSpecialSuspectLastSeenReport;
uint32 gMinTimeToNextReport[NUM_CRIME_TYPES];
@@ -80,7 +80,7 @@ cAudioManager::ResetPoliceRadio()
}
void
-cAudioManager::SetMissionScriptPoliceAudio(int32 sfx) const
+cAudioManager::SetMissionScriptPoliceAudio(uint32 sfx)
{
if (!m_bIsInitialised) return;
if (g_nMissionAudioPlayingStatus != 1) {
@@ -90,7 +90,7 @@ cAudioManager::SetMissionScriptPoliceAudio(int32 sfx) const
}
int8
-cAudioManager::GetMissionScriptPoliceAudioPlayingStatus() const
+cAudioManager::GetMissionScriptPoliceAudioPlayingStatus()
{
return g_nMissionAudioPlayingStatus;
}