mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-26 02:13:44 +00:00
Remove redundant SampleManager.InitialiseChannel call
This commit is contained in:
parent
d781db6c0f
commit
4981fe3091
1 changed files with 0 additions and 1 deletions
|
@ -11401,7 +11401,6 @@ cAudioManager::ProcessMissionAudioSlot(uint8 slot)
|
|||
case LOADING_STATUS_NOT_LOADED:
|
||||
// TODO: LoadMissionAudio
|
||||
SampleManager.LoadPedComment(m_sMissionAudio.m_nSampleIndex[slot]);
|
||||
SampleManager.InitialiseChannel(slot + CHANNEL_MISSION_AUDIO_1, m_sMissionAudio.m_nSampleIndex[slot], SFX_BANK_PED_COMMENTS);
|
||||
SampleManager.SetChannelFrequency(slot + CHANNEL_MISSION_AUDIO_1, SampleManager.GetSampleBaseFrequency(m_sMissionAudio.m_nSampleIndex[slot]));
|
||||
m_sMissionAudio.m_nLoadingStatus[slot] = LOADING_STATUS_LOADED;
|
||||
nFramesUntilFailedLoad[slot] = 0;
|
||||
|
|
Loading…
Reference in a new issue