summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 09:31:35 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-16 09:31:35 +0200
commit76f2191476317e89ae148be0f989c275299333fa (patch)
treec2f8a44e7775ed1f5c2c8ccde0e46e16aaff5055
parentPS2 audio reflections (diff)
downloadre3-76f2191476317e89ae148be0f989c275299333fa.tar
re3-76f2191476317e89ae148be0f989c275299333fa.tar.gz
re3-76f2191476317e89ae148be0f989c275299333fa.tar.bz2
re3-76f2191476317e89ae148be0f989c275299333fa.tar.lz
re3-76f2191476317e89ae148be0f989c275299333fa.tar.xz
re3-76f2191476317e89ae148be0f989c275299333fa.tar.zst
re3-76f2191476317e89ae148be0f989c275299333fa.zip
-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,