From 76f2191476317e89ae148be0f989c275299333fa Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 16 Aug 2021 10:31:35 +0300 Subject: Remove not needed entry from config --- src/audio/AudioManager.h | 4 ++-- src/core/config.h | 1 - 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, -- cgit v1.2.3