mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 11:39:00 +00:00
fix
This commit is contained in:
parent
f945dbc0fb
commit
815d3e0f61
1 changed files with 1 additions and 1 deletions
|
@ -1319,7 +1319,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect
|
||||||
{
|
{
|
||||||
if ( nEffectFlag ) {
|
if ( nEffectFlag ) {
|
||||||
if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel?
|
if ( nStream == 1 ) // TODO(MIAMI): || nStream == 2 when we have second mission channel?
|
||||||
stream->SetVolume(128*vol*m_nEffectsVolume >> 14)
|
stream->SetVolume(128*nVolume*m_nEffectsVolume >> 14)
|
||||||
else
|
else
|
||||||
stream->SetVolume(m_nEffectsFadeVolume*nVolume*m_nEffectsVolume >> 14);
|
stream->SetVolume(m_nEffectsFadeVolume*nVolume*m_nEffectsVolume >> 14);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue