mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 11:18:59 +00:00
Fix another float
This commit is contained in:
parent
28d7d6b2f1
commit
f760696a9f
1 changed files with 1 additions and 1 deletions
|
@ -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