mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 02:29:01 +00:00
Remove FIX_BUGS that wasn't needed
This commit is contained in:
parent
e0ecbeee39
commit
2526503743
1 changed files with 0 additions and 4 deletions
|
@ -883,11 +883,7 @@ cAudioManager::ProcessWetRoadNoise(cVehicleParams& params)
|
||||||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||||
m_sQueueSample.m_bIs2D = FALSE;
|
m_sQueueSample.m_bIs2D = FALSE;
|
||||||
m_sQueueSample.m_nReleasingVolumeModificator = 3;
|
m_sQueueSample.m_nReleasingVolumeModificator = 3;
|
||||||
#ifdef FIX_BUGS
|
|
||||||
multiplier = (m_sQueueSample.m_fDistance / SOUND_INTENSITY) * 0.5f;
|
multiplier = (m_sQueueSample.m_fDistance / SOUND_INTENSITY) * 0.5f;
|
||||||
#else
|
|
||||||
multiplier = (m_sQueueSample.m_fDistance / 3.0f) * 0.5f;
|
|
||||||
#endif
|
|
||||||
freq = SampleManager.GetSampleBaseFrequency(SFX_ROAD_NOISE);
|
freq = SampleManager.GetSampleBaseFrequency(SFX_ROAD_NOISE);
|
||||||
m_sQueueSample.m_nFrequency = freq + freq * multiplier;
|
m_sQueueSample.m_nFrequency = freq + freq * multiplier;
|
||||||
m_sQueueSample.m_nLoopCount = 0;
|
m_sQueueSample.m_nLoopCount = 0;
|
||||||
|
|
Loading…
Reference in a new issue