From 6b4fe224db79bfd26b92c2a00ea200aff7c32894 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Tue, 27 Jun 2017 06:38:29 +0200 Subject: MOHAWK: Check the Book making island external commands against the original --- engines/mohawk/riven_card.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mohawk/riven_card.cpp') 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); -- cgit v1.2.3