mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 00:44:08 +00:00
Police Radio + fixes
This commit is contained in:
parent
86002b093f
commit
ee61f19253
6 changed files with 298 additions and 283 deletions
|
@ -437,7 +437,6 @@ cAudioManager::IsAudioInitialised() const
|
|||
void
|
||||
cAudioManager::ServiceSoundEffects()
|
||||
{
|
||||
field_5554++;
|
||||
m_bFifthFrameFlag = (m_FrameCounter++ % 5) == 0;
|
||||
if (m_nUserPause && !m_nPreviousUserPause) {
|
||||
for (int32 i = 0; i < allChannels; i++)
|
||||
|
@ -838,7 +837,7 @@ cAudioManager::ProcessActiveQueues()
|
|||
sample.m_nSampleIndex == m_asActiveSamples[j].m_nSampleIndex) {
|
||||
if (sample.m_nLoopCount) {
|
||||
|
||||
if (field_5554 & 1) {
|
||||
if (m_FrameCounter & 1) {
|
||||
if (!(j & 1)) {
|
||||
flag = false;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue