summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-27 21:32:47 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-27 21:32:47 +0200
commit16e2e3d0913b5454b51c1300a6b6e1ae4012441a (patch)
tree730ee19f9b45164a0c0c4efa04f29d5d10277f29 /src/audio
parentcAudioManager::GetCollisionOneShotRatio cleanup (diff)
downloadre3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar.gz
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar.bz2
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar.lz
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar.xz
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.tar.zst
re3-16e2e3d0913b5454b51c1300a6b6e1ae4012441a.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioManager.h2
-rw-r--r--src/audio/PolRadio.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 7c591a1e..b836f221 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -485,7 +485,7 @@ public:
void InitialisePoliceRadioZones();
void InitialisePoliceRadio();
void ResetPoliceRadio();
- void SetMissionScriptPoliceAudio(int32 sfx);
+ void SetMissionScriptPoliceAudio(uint32 sfx);
int8 GetMissionScriptPoliceAudioPlayingStatus();
void DoPoliceRadioCrackle();
void ServicePoliceRadio();
diff --git a/src/audio/PolRadio.cpp b/src/audio/PolRadio.cpp
index 9a98de35..6fc1ceef 100644
--- a/src/audio/PolRadio.cpp
+++ b/src/audio/PolRadio.cpp
@@ -106,7 +106,7 @@ cAudioManager::ResetPoliceRadio()
}
void
-cAudioManager::SetMissionScriptPoliceAudio(int32 sfx)
+cAudioManager::SetMissionScriptPoliceAudio(uint32 sfx)
{
if (!m_bIsInitialised) return;
if (g_nMissionAudioPlayingStatus != 1) {