1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 13:55:54 +00:00
This commit is contained in:
Nikolay Korolev 2020-05-31 22:50:32 +03:00
parent f945dbc0fb
commit 815d3e0f61

View file

@ -1319,7 +1319,7 @@ cSampleManager::SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, uint8 nEffect
{
if ( nEffectFlag ) {
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
stream->SetVolume(m_nEffectsFadeVolume*nVolume*m_nEffectsVolume >> 14);
}