[Scummvm-git-logs] scummvm master -> 1e44fd3fdfd20cd5115eb1e47d688927d3b6e624

bluegr noreply at scummvm.org
Thu Aug 11 19:25:13 UTC 2022


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:
1e44fd3fdf SCUMM: Restrict the "I am Choas." Loom workaround to the English talkie


Commit: 1e44fd3fdfd20cd5115eb1e47d688927d3b6e624
    https://github.com/scummvm/scummvm/commit/1e44fd3fdfd20cd5115eb1e47d688927d3b6e624
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2022-08-11T22:25:10+03:00

Commit Message:
SCUMM: Restrict the "I am Choas." Loom workaround to the English talkie

Changed paths:
    engines/scumm/script_v5.cpp


diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index d795dd86fb0..0e6fdba4ce1 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -3239,7 +3239,9 @@ void ScummEngine_v5::decodeParseString() {
 		case 15:{	// SO_TEXTSTRING
 				const int len = resStrLen(_scriptPointer);
 
-				if (_game.id == GID_LOOM && vm.slot[_currentScript].number == 95 && _enableEnhancements && strcmp((const char *)_scriptPointer, "I am Choas.") == 0) {
+				if (_game.id == GID_LOOM && _game.version == 4 && _language == Common::EN_ANY &&
+						vm.slot[_currentScript].number == 95 && _enableEnhancements &&
+						strcmp((const char *)_scriptPointer, "I am Choas.") == 0) {
 					// WORKAROUND: This happens when Chaos introduces
 					// herself to bishop Mandible. Of all the places to put
 					// a typo...




More information about the Scummvm-git-logs mailing list