summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 10:29:44 +0300
committerSergeanur <s.anureev@yandex.ua>2021-08-16 10:29:44 +0300
commitbcb5b4f94d57d4b2ca65c4972f1d09b11a421b49 (patch)
treec95af5d44aa0d47acbfdba0713b881ebd9bc4aa7 /src
parentab03fbb6c83ad7f9afeb287e0898fd05805ec565 (diff)
Remove not needed entry from config
Diffstat (limited to 'src')
-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,