[Scummvm-git-logs] scummvm master -> c8dadd413d1797959f2f39174f495ae480f61b02
bluegr
bluegr at gmail.com
Sun Oct 24 13:14:08 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c8dadd413d SCUMM: SAMNMAX - Add missing actor animation in German floppy version too
Commit: c8dadd413d1797959f2f39174f495ae480f61b02
https://github.com/scummvm/scummvm/commit/c8dadd413d1797959f2f39174f495ae480f61b02
Author: Ben Castricum (github at bencastricum.nl)
Date: 2021-10-24T16:14:05+03:00
Commit Message:
SCUMM: SAMNMAX - Add missing actor animation in German floppy version too
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index f33131ef93..8adf34e787 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;
More information about the Scummvm-git-logs
mailing list