summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-18 13:15:06 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-18 13:15:06 +0200
commita1412d1cdbc91535011a6048c79699eccfaa6e0c (patch)
tree848db7e7a6bfebb912262789b243bf2e442f39d3
parentMerge remote-tracking branch 'origin/master' into miami (diff)
downloadre3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar.gz
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar.bz2
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar.lz
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar.xz
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.tar.zst
re3-a1412d1cdbc91535011a6048c79699eccfaa6e0c.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 88cfc16a..5b0b4907 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -169,11 +169,11 @@ cAudioManager::SetEntityStatus(int32 id, uint8 status)
void
cAudioManager::PlayOneShot(int32 index, int16 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,
- 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 3, 1, 1, 1, 9,
- 2, 2, 0, 0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