diff options
-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 |