diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-15 13:11:20 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-15 13:11:20 +0200 |
commit | 854ee12d9d6af1fb7390cbfbec59630d2c397673 (patch) | |
tree | 0de3a5d4e49c4b9ceb547861015985b41fecb5f8 /src | |
parent | Fix cAudioManager::ProcessVehicleEngine return type, document PS2 changes, rename Sound Intensity (diff) | |
download | re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar.gz re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar.bz2 re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar.lz re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar.xz re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.tar.zst re3-854ee12d9d6af1fb7390cbfbec59630d2c397673.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 | ||||
-rw-r--r-- | src/audio/AudioManager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 14769c10..78b56550 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -735,7 +735,7 @@ cAudioManager::UpdateReflections() m_afReflectionsDistances[4] = 50.0f; } } -#endif // GTA_PC +#endif // GTA_VERSION >= GTA3_PC_10 void cAudioManager::AddReleasingSounds() diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 79eb08d6..d5f66fd0 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -222,7 +222,7 @@ public: tAudioEntity m_asAudioEntities[NUM_AUDIOENTITIES]; int32 m_anAudioEntityIndices[NUM_AUDIOENTITIES]; int32 m_nAudioEntitiesTotal; -#ifdef GTA_PC +#if GTA_VERSION >= GTA3_PC_10 CVector m_avecReflectionsPos[NUM_AUDIO_REFLECTIONS]; float m_afReflectionsDistances[NUM_AUDIO_REFLECTIONS]; #endif |