diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-03-22 19:32:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 19:32:01 +0100 |
commit | da2d25c0202cb93b9d086bf0d1207d19f7131a6f (patch) | |
tree | ddff753d0542a86ff852f903d2321f3c1d1b1786 /src | |
parent | Remove all constexpr (diff) | |
download | re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar.gz re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar.bz2 re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar.lz re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar.xz re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.tar.zst re3-da2d25c0202cb93b9d086bf0d1207d19f7131a6f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 358dfe0c..539c9e91 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -3651,7 +3651,7 @@ void cAudioManager::ProcessFires(int32) m_sQueueSample.m_nSampleIndex = SFX_CAR_ON_FIRE; emittingVol = 100; m_sQueueSample.m_nFrequency = - 8 / 10 * SampleManager.GetSampleBaseFrequency(SFX_CAR_ON_FIRE); + 8 * SampleManager.GetSampleBaseFrequency(SFX_CAR_ON_FIRE) / 10; m_sQueueSample.m_nFrequency += i * ((uint32)m_sQueueSample.m_nFrequency >> 6); m_sQueueSample.field_16 = 6; break; |