mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 04:26:20 +00:00
fixes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user