summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-22 21:03:27 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-22 21:05:50 +0200
commit1cdc64732499a4baf7523d2998c4fa6416228164 (patch)
tree8b35023be505c0fb225f5284fb6ed3809ef6c1b7
parentPolice Radio + fixes (diff)
downloadre3-1cdc64732499a4baf7523d2998c4fa6416228164.tar
re3-1cdc64732499a4baf7523d2998c4fa6416228164.tar.gz
re3-1cdc64732499a4baf7523d2998c4fa6416228164.tar.bz2
re3-1cdc64732499a4baf7523d2998c4fa6416228164.tar.lz
re3-1cdc64732499a4baf7523d2998c4fa6416228164.tar.xz
re3-1cdc64732499a4baf7523d2998c4fa6416228164.tar.zst
re3-1cdc64732499a4baf7523d2998c4fa6416228164.zip
-rw-r--r--src/audio/AudioManager.h2
-rw-r--r--src/audio/PoliceRadio.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index eabdecf5..d7a744cd 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -379,7 +379,7 @@ public:
void Service();
void ServiceCollisions();
void ServicePoliceRadio();
- void ServicePoliceRadioChannel(int32 wantedLevel);
+ void ServicePoliceRadioChannel(uint8 wantedLevel);
void ServiceSoundEffects();
int8 SetCurrent3DProvider(uint8 which);
void SetDynamicAcousticModelingStatus(uint8 status);
diff --git a/src/audio/PoliceRadio.cpp b/src/audio/PoliceRadio.cpp
index 64b91e83..781040d6 100644
--- a/src/audio/PoliceRadio.cpp
+++ b/src/audio/PoliceRadio.cpp
@@ -153,7 +153,7 @@ cAudioManager::ServicePoliceRadio()
}
void
-cAudioManager::ServicePoliceRadioChannel(int32 wantedLevel)
+cAudioManager::ServicePoliceRadioChannel(uint8 wantedLevel)
{
bool processed = false;
uint32 sample;