mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-14 06:00:34 +00:00
Get rid of audio getters
This commit is contained in:
parent
61176acbad
commit
8960ffaf0b
6 changed files with 37 additions and 41 deletions
|
@ -664,7 +664,7 @@ cAudioManager::AddReflectionsToRequestedQueue()
|
|||
|
||||
for (uint32 i = 0; i < ARRAY_SIZE(m_afReflectionsDistances); i++) {
|
||||
if ( CTimer::GetIsSlowMotionActive() )
|
||||
m_afReflectionsDistances[i] = GetRandomNumberInRange(i % 4, 0, 2) * 100.f / 8.f;
|
||||
m_afReflectionsDistances[i] = (m_anRandomTable[i % 4] % 3) * 100.f / 8.f;
|
||||
|
||||
reflectionDistance = m_afReflectionsDistances[i];
|
||||
if (reflectionDistance > 0.0f && reflectionDistance < 100.f && reflectionDistance < m_sQueueSample.m_fSoundIntensity) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue