summaryrefslogtreecommitdiffstats
path: root/src/audio/PolRadio.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-27 21:38:57 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-27 21:38:57 +0200
commit9dbaa7a77fa695154899cd559ed0af05c214a779 (patch)
tree5e083fee61671c00b886f6324e11f7ec30bf1d07 /src/audio/PolRadio.cpp
parentAudioManager.cpp reordering (diff)
downloadre3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar.gz
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar.bz2
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar.lz
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar.xz
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.tar.zst
re3-9dbaa7a77fa695154899cd559ed0af05c214a779.zip
Diffstat (limited to '')
-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 ce0e9a6d..28c18256 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;
}