summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 10:31:35 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-16 10:31:35 +0300
commit76f2191476317e89ae148be0f989c275299333fa (patch)
treec2f8a44e7775ed1f5c2c8ccde0e46e16aaff5055
parentd6fbf9fbe775ea838e8e8d8d607b88562f1c695b (diff)
Remove not needed entry from config
-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 c52eef8f..f213230a 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 7795060c..e6af6ccd 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,