[Scummvm-git-logs] scummvm master -> ff06fb61f2a8fd9fca94b0f7062dcb6ffffd017e

aquadran noreply at scummvm.org
Thu Jul 16 14:31:24 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
ff06fb61f2 WINTERMUTE: Silence script error for 'GetControl' and 'SetImage' method in 'Forgotten Sound 2 - Destiny'


Commit: ff06fb61f2a8fd9fca94b0f7062dcb6ffffd017e
    https://github.com/scummvm/scummvm/commit/ff06fb61f2a8fd9fca94b0f7062dcb6ffffd017e
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2026-07-16T16:31:12+02:00

Commit Message:
WINTERMUTE: Silence script error for 'GetControl' and 'SetImage' method in 'Forgotten Sound 2 - Destiny'

Changed paths:
    engines/wintermute/base/scriptables/script.cpp


diff --git a/engines/wintermute/base/scriptables/script.cpp b/engines/wintermute/base/scriptables/script.cpp
index 0eb693f3c0f..a897833121c 100644
--- a/engines/wintermute/base/scriptables/script.cpp
+++ b/engines/wintermute/base/scriptables/script.cpp
@@ -704,6 +704,8 @@ bool ScScript::executeInstruction() {
 					_stack->correctParams(0);
 					if (BaseEngine::instance().getGameId() == "barrowhilldp" && strcmp(methodName, "MakeParticle") == 0) {
 						// Silence unknown opcode in 'Barrow Hill - The Dark Path'
+					} else if (BaseEngine::instance().getGameId() == "forgottensound2" && (strcmp(methodName, "SetImage") == 0 || strcmp(methodName, "GetControl") == 0)) {
+						// Silence unknown opcode in 'Forgotten Sound 2 - Destiny'
 					} else {
 						runtimeError("Call to undefined method '%s'. Ignored.", methodName);
 					}




More information about the Scummvm-git-logs mailing list