From bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 16 Aug 2021 10:29:44 +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(-) (limited to 'src') diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index d5f66fd0..20b7d0c9 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -223,8 +223,8 @@ public: int32 m_anAudioEntityIndices[NUM_AUDIOENTITIES]; int32 m_nAudioEntitiesTotal; #if GTA_VERSION >= GTA3_PC_10 - CVector m_avecReflectionsPos[NUM_AUDIO_REFLECTIONS]; - float m_afReflectionsDistances[NUM_AUDIO_REFLECTIONS]; + CVector m_avecReflectionsPos[MAX_REFLECTIONS]; + float m_afReflectionsDistances[MAX_REFLECTIONS]; #endif cAudioScriptObjectManager m_sAudioScriptObjectManager; cPedComments m_sPedComments; diff --git a/src/core/config.h b/src/core/config.h index 063745b8..1e9bf6d2 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -132,7 +132,6 @@ enum Config { NUM_SOUNDS_SAMPLES_BANKS = 2, NUM_AUDIOENTITIES = 200, - NUM_AUDIO_REFLECTIONS = 5, NUM_SCRIPT_MAX_ENTITIES = 40, NUM_GARAGE_STORED_CARS = 6, -- cgit v1.2.3