summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 09:33:54 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-16 09:33:54 +0200
commit2633295ada11c9e689cfad7aef34ed6230957076 (patch)
tree728806e95a5b226d869beb51b841213232bbf586
parentLCS audio reflections values (diff)
parentRemove not needed entry from config (diff)
downloadre3-2633295ada11c9e689cfad7aef34ed6230957076.tar
re3-2633295ada11c9e689cfad7aef34ed6230957076.tar.gz
re3-2633295ada11c9e689cfad7aef34ed6230957076.tar.bz2
re3-2633295ada11c9e689cfad7aef34ed6230957076.tar.lz
re3-2633295ada11c9e689cfad7aef34ed6230957076.tar.xz
re3-2633295ada11c9e689cfad7aef34ed6230957076.tar.zst
re3-2633295ada11c9e689cfad7aef34ed6230957076.zip
-rw-r--r--src/audio/AudioManager.h4
-rw-r--r--src/core/config.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 759cb0bf..6802eac9 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -240,8 +240,8 @@ public:
tAudioEntity m_asAudioEntities[NUM_AUDIOENTITIES];
int32 m_anAudioEntityIndices[NUM_AUDIOENTITIES];
int32 m_nAudioEntitiesTotal;
- CVector m_avecReflectionsPos[NUM_AUDIO_REFLECTIONS];
- float m_afReflectionsDistances[NUM_AUDIO_REFLECTIONS];
+ CVector m_avecReflectionsPos[MAX_REFLECTIONS];
+ float m_afReflectionsDistances[MAX_REFLECTIONS];
cAudioScriptObjectManager m_sAudioScriptObjectManager;
// miami
diff --git a/src/core/config.h b/src/core/config.h
index cf87e5eb..50733a1a 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -135,7 +135,6 @@ enum Config {
NUM_SOUNDS_SAMPLES_BANKS = 2,
NUM_AUDIOENTITIES = 250,
- NUM_AUDIO_REFLECTIONS = 8,
NUM_SCRIPT_MAX_ENTITIES = 40,
NUM_GARAGE_STORED_CARS = 4,