From c8dadd413d1797959f2f39174f495ae480f61b02 Mon Sep 17 00:00:00 2001 From: Ben Castricum Date: Sun, 24 Oct 2021 14:06:33 +0200 Subject: [PATCH] SCUMM: SAMNMAX - Add missing actor animation in German floppy version too --- engines/scumm/string.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index f33131ef93e..8adf34e7870 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -1357,10 +1357,11 @@ int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize) error("convertMessageToString: buffer overflow"); } - // WORKAROUND bug #12249 (occurs also in original): Missing actor animation in German CD version of SAMNMAX + // WORKAROUND bug #12249 (occurs also in original): Missing actor animation in German version of SAMNMAX // Adding the missing animation escape sequence while copying the text fixes it. - if (_game.id == GID_SAMNMAX && _roomResource == 56 && vm.slot[_currentScript].number == 200) { - if (_language == Common::DE_DEU && vm.slot[_currentScript].offs == 0x0000e5e6) { + if (_game.id == GID_SAMNMAX && _roomResource == 56 && vm.slot[_currentScript].number == 200 && _language == Common::DE_DEU) { + // 0xE5E6 is the CD version, 0xE373 is for the floppy version + if (vm.slot[_currentScript].offs == 0xE5E6 || vm.slot[_currentScript].offs == 0xE373) { *dst++ = 0xFF; *dst++ = 0x09; *dst++ = 0x0E;