diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-22 23:00:53 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-01 22:38:36 +0100 |
commit | 43d583139478a07b5d3fd8c5b318135bff4bb9b7 (patch) | |
tree | b518af1c18e4cda0655bf8e7ba84e74428e74aa0 /src/audio/AudioManager.cpp | |
parent | TexturePools (diff) | |
download | re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar.gz re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar.bz2 re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar.lz re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar.xz re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.tar.zst re3-43d583139478a07b5d3fd8c5b318135bff4bb9b7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index c9bd6c17..fbfdb855 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -167,7 +167,7 @@ cAudioManager::SetEntityStatus(int32 id, uint8 status) } void -cAudioManager::PlayOneShot(int32 index, int16 sound, float vol) +cAudioManager::PlayOneShot(int32 index, uint16 sound, float vol) { static const uint8 OneShotPriority[] = { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 4, 2, 5, 5, 3, 5, 2, 2, 1, 1, 3, 1, 3, 3, 1, 1, 1, 1, 4, 4, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 3, 4, 2, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0, |