Fix ped comments on oal

This commit is contained in:
Sergeanur 2021-09-02 19:22:29 +03:00
parent a15d5589b3
commit 3569b7edfe

View file

@ -1470,7 +1470,10 @@ cSampleManager::InitialiseChannel(uint32 nChannel, uint32 nSfx, uint8 nBank)
slot += ARRAY_SIZE(nPedSlotSfx); slot += ARRAY_SIZE(nPedSlotSfx);
#endif #endif
if ( nSfx == nPedSlotSfx[slot] ) if ( nSfx == nPedSlotSfx[slot] )
{
addr = (nSampleBankMemoryStartAddress[SFX_BANK_PED_COMMENTS] + PED_BLOCKSIZE * slot); addr = (nSampleBankMemoryStartAddress[SFX_BANK_PED_COMMENTS] + PED_BLOCKSIZE * slot);
break;
}
} }
if (i == _TODOCONST(3)) if (i == _TODOCONST(3))