Fix Dynamic Acoustic Modelling: off & Flamethrower SFX

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis
2025-01-26 14:44:29 +01:00
parent b3ccf1f900
commit 42647ddc6b

View File

@@ -3789,6 +3789,10 @@ cAudioManager::ProcessPedOneShots(cPedParams &params)
if (iSound > 60)
iSound = 21;
}
// In some cases the left and right channels have different loop points
// This looks like a data file issue where the left and right channels have different loop points
// This is a hot fix to always have the correct loop point for each channel individually
SET_LOOP_OFFSETS(m_sQueueSample.m_nSampleIndex)
AddSampleToRequestedQueue();
}
}