mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
Remove FIX_BUGS that wasn't needed
This commit is contained in:
parent
e0ecbeee39
commit
2526503743
|
@ -883,11 +883,7 @@ cAudioManager::ProcessWetRoadNoise(cVehicleParams& params)
|
|||
m_sQueueSample.m_nBankIndex = SFX_BANK_0;
|
||||
m_sQueueSample.m_bIs2D = FALSE;
|
||||
m_sQueueSample.m_nReleasingVolumeModificator = 3;
|
||||
#ifdef FIX_BUGS
|
||||
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);
|
||||
m_sQueueSample.m_nFrequency = freq + freq * multiplier;
|
||||
m_sQueueSample.m_nLoopCount = 0;
|
||||
|
|
Loading…
Reference in a new issue