mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 10:00:01 +00:00
Fix another float
This commit is contained in:
parent
28d7d6b2f1
commit
f760696a9f
|
@ -2538,7 +2538,7 @@ cAudioManager::ProcessBoatMovingOverWater(cVehicleParams *params)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
velocityChange = Min(0.75f, velocityChange);
|
velocityChange = Min(0.75f, velocityChange);
|
||||||
multiplier = (velocityChange - 0.0005f) * 1.3342f;
|
multiplier = (velocityChange - 0.0005f) * 1.3342229f;
|
||||||
CalculateDistance(params->m_bDistanceCalculated, params->m_fDistance);
|
CalculateDistance(params->m_bDistanceCalculated, params->m_fDistance);
|
||||||
vol = (30.f * multiplier);
|
vol = (30.f * multiplier);
|
||||||
m_sQueueSample.m_nVolume = ComputeVolume(vol, 50.f, m_sQueueSample.m_fDistance);
|
m_sQueueSample.m_nVolume = ComputeVolume(vol, 50.f, m_sQueueSample.m_fDistance);
|
||||||
|
|
Loading…
Reference in a new issue