[Scummvm-git-logs] scummvm master -> 850acfedb0388d3995c78d4017a4fd5f825f2a2f
aquadran
noreply at scummvm.org
Thu Jul 16 14:36:27 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:
850acfedb0 WINTERMUTE: Silence script error for 'GetControl' and 'SetImage' method in 'Twilight: Dark Summer'
Commit: 850acfedb0388d3995c78d4017a4fd5f825f2a2f
https://github.com/scummvm/scummvm/commit/850acfedb0388d3995c78d4017a4fd5f825f2a2f
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-07-16T16:36:16+02:00
Commit Message:
WINTERMUTE: Silence script error for 'GetControl' and 'SetImage' method in 'Twilight: Dark Summer'
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 a897833121c..de44a70b6e8 100644
--- a/engines/wintermute/base/scriptables/script.cpp
+++ b/engines/wintermute/base/scriptables/script.cpp
@@ -706,6 +706,8 @@ bool ScScript::executeInstruction() {
// 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 if (BaseEngine::instance().getGameId() == "darksummer" && (strcmp(methodName, "SetImage") == 0 || strcmp(methodName, "GetControl") == 0)) {
+ // Silence unknown opcode in 'Twilight: Dark Summer'
} else {
runtimeError("Call to undefined method '%s'. Ignored.", methodName);
}
More information about the Scummvm-git-logs
mailing list