Merge branch 'skmp/fix-miami-flamethrower' into 'main'

flamethrower fix for miami

See merge request skmp/dca3-game!80
This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis
2025-03-28 19:41:57 +00:00

View File

@@ -5220,6 +5220,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();
}
}