summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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,