Skip to content

Commit

Permalink
Fix ifdef for audio reflection members
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergeanur committed Aug 15, 2021
1 parent 5ddd064 commit 854ee12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/audio/AudioManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ cAudioManager::UpdateReflections()
m_afReflectionsDistances[4] = 50.0f;
}
}
#endif // GTA_PC
#endif // GTA_VERSION >= GTA3_PC_10

void
cAudioManager::AddReleasingSounds()
Expand Down
2 changes: 1 addition & 1 deletion src/audio/AudioManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class cAudioManager
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
Expand Down

0 comments on commit 854ee12

Please sign in to comment.