diff options
author | Bastien Bouclet | 2017-06-27 06:38:29 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 6b4fe224db79bfd26b92c2a00ea200aff7c32894 (patch) | |
tree | bedc75e602a8771fb4c37fd3d0c3b327ac8b4676 /engines/mohawk/riven_card.cpp | |
parent | 39b0d53bb583c49e64ed727ac27e4c2592302ba2 (diff) | |
download | scummvm-rg350-6b4fe224db79bfd26b92c2a00ea200aff7c32894.tar.gz scummvm-rg350-6b4fe224db79bfd26b92c2a00ea200aff7c32894.tar.bz2 scummvm-rg350-6b4fe224db79bfd26b92c2a00ea200aff7c32894.zip |
MOHAWK: Check the Book making island external commands against the original
Diffstat (limited to 'engines/mohawk/riven_card.cpp')
-rw-r--r-- | engines/mohawk/riven_card.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index d5501c8ac4..fe93190385 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -232,6 +232,10 @@ SLSTRecord RivenCard::getSound(uint16 index) const { error("Could not find sound %d in card %d", index, _id); } +void RivenCard::overrideSound(uint16 index, uint16 withIndex) { + _soundList[index].soundIds = _soundList[withIndex].soundIds; +} + void RivenCard::loadHotspots(uint16 id) { Common::SeekableReadStream *inStream = _vm->getResource(ID_HSPT, id); |