mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-10 20:29:15 +00:00
Fix nFramesForPretendPlaying.
This commit is contained in:
parent
5e019ed9f8
commit
e46b06491c
|
@ -9922,7 +9922,7 @@ cAudioManager::ProcessMissionAudioSlot(uint8 slot)
|
||||||
nCheckPlayingDelay[slot] = 0;
|
nCheckPlayingDelay[slot] = 0;
|
||||||
nFramesUntilFailedLoad[slot] = 0;
|
nFramesUntilFailedLoad[slot] = 0;
|
||||||
} else if (!m_nUserPause) {
|
} else if (!m_nUserPause) {
|
||||||
if (++nFramesForPretendPlaying[slot] < 120) {
|
if (++nFramesForPretendPlaying[slot] < 90) {
|
||||||
m_sMissionAudio.m_nPlayStatus[slot] = PLAY_STATUS_PLAYING;
|
m_sMissionAudio.m_nPlayStatus[slot] = PLAY_STATUS_PLAYING;
|
||||||
} else {
|
} else {
|
||||||
m_sMissionAudio.m_nPlayStatus[slot] = PLAY_STATUS_FINISHED;
|
m_sMissionAudio.m_nPlayStatus[slot] = PLAY_STATUS_FINISHED;
|
||||||
|
|
Loading…
Reference in a new issue