diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-16 09:29:44 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-16 09:29:44 +0200 |
commit | bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49 (patch) | |
tree | c95af5d44aa0d47acbfdba0713b881ebd9bc4aa7 | |
parent | Make UpdateReflections a bit more binary exact + small code changes to sync with miami (diff) | |
download | re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar.gz re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar.bz2 re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar.lz re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar.xz re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.tar.zst re3-bcb5b4f94d57d4b2ca65c4972f1d09b11a421b49.zip |
-rw-r--r-- | src/audio/AudioManager.h | 4 | ||||
-rw-r--r-- | 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 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, |