summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-19 15:39:31 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-19 15:39:31 +0200
commitdb2c34923dba92012f023b2453a35aba4bd6846e (patch)
tree1ba9c9c23e22849e07e4b64ed11a8600e09efb8d /src/audio/AudioManager.h
parentRenaming audio enum entries to something more like original (diff)
downloadre3-db2c34923dba92012f023b2453a35aba4bd6846e.tar
re3-db2c34923dba92012f023b2453a35aba4bd6846e.tar.gz
re3-db2c34923dba92012f023b2453a35aba4bd6846e.tar.bz2
re3-db2c34923dba92012f023b2453a35aba4bd6846e.tar.lz
re3-db2c34923dba92012f023b2453a35aba4bd6846e.tar.xz
re3-db2c34923dba92012f023b2453a35aba4bd6846e.tar.zst
re3-db2c34923dba92012f023b2453a35aba4bd6846e.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 363031b7..b6bbef8f 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -213,7 +213,7 @@ public:
float GetReflectionsDistance(int32 idx) const { return m_afReflectionsDistances[idx]; }
int32 GetRandomNumber(int32 idx) const { return m_anRandomTable[idx]; }
int32 GetRandomNumberInRange(int32 idx, int32 low, int32 high) const { return (m_anRandomTable[idx] % (high - low + 1)) + low; }
- bool IsMissionAudioSamplePlaying() const { return m_sMissionAudio.m_nPlayStatus == 1; }
+ bool ShouldDuckMissionAudio() const { return m_sMissionAudio.m_nPlayStatus == 1; }
// "Should" be in alphabetic order, except "getXTalkSfx"
void AddDetailsToRequestedOrderList(uint8 sample);