mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 09:44:09 +00:00
fixes
This commit is contained in:
parent
8cd87236c9
commit
95e9fe7693
3 changed files with 6 additions and 7 deletions
|
@ -5700,7 +5700,7 @@ cAudioManager::IsMissionAudioSamplePlaying(uint8 slot) const
|
|||
} else {
|
||||
static int32 cPretendFrame[MISSION_AUDIO_SLOTS] = { 1, 1 };
|
||||
|
||||
return (cPretendFrame[MISSION_AUDIO_SLOTS]++ % 64) != 0;
|
||||
return (cPretendFrame[slot]++ % 64) != 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5716,7 +5716,7 @@ cAudioManager::IsMissionAudioSampleFinished(uint8 slot)
|
|||
|
||||
static int32 cPretendFrame[MISSION_AUDIO_SLOTS] = { 1, 1 };
|
||||
|
||||
return (cPretendFrame[MISSION_AUDIO_SLOTS]++ % 64) == 0;
|
||||
return (cPretendFrame[slot]++ % 64) == 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue