summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-22 22:10:41 +0100
committerSergeanur <s.anureev@yandex.ua>2020-11-22 22:10:41 +0100
commitf010777e580a4f2bdbfca9dbe037700822f34a88 (patch)
tree6f229b06459fe46cb4a44f171bd55c9da6952bd3 /src/audio/AudioManager.cpp
parentone more fix (diff)
downloadre3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar.gz
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar.bz2
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar.lz
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar.xz
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.tar.zst
re3-f010777e580a4f2bdbfca9dbe037700822f34a88.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r--src/audio/AudioManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index d8054181..947bda40 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, 5, 5, 3, 5, 2, 2, 1, 1, 3, 1, 3, 3, 1, 1, 1, 4, 4, 3, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 3, 2, 2, 2, 2, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,