Skip to content

Commit

Permalink
Fix ped comments on oal
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergeanur committed Sep 2, 2021
1 parent a15d558 commit 3569b7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/audio/sampman_oal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,10 @@ cSampleManager::InitialiseChannel(uint32 nChannel, uint32 nSfx, uint8 nBank)
slot += ARRAY_SIZE(nPedSlotSfx);
#endif
if ( nSfx == nPedSlotSfx[slot] )
{
addr = (nSampleBankMemoryStartAddress[SFX_BANK_PED_COMMENTS] + PED_BLOCKSIZE * slot);
break;
}
}

if (i == _TODOCONST(3))
Expand Down

0 comments on commit 3569b7e

Please sign in to comment.