[Scummvm-git-logs] scummvm master -> 4b6565b717a2187ea5806e96e07e52ba3388e103

aquadran noreply at scummvm.org
Thu Jul 16 09:46:43 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:
4b6565b717 WINTERMUTE: Silence script error for non existing 'MakeParticle' method in 'Barrow Hill - The Dark Path'


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

Commit Message:
WINTERMUTE: Silence script error for non existing 'MakeParticle' method in 'Barrow Hill - The Dark Path'

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 7e9f6b4c414..0eb693f3c0f 100644
--- a/engines/wintermute/base/scriptables/script.cpp
+++ b/engines/wintermute/base/scriptables/script.cpp
@@ -702,7 +702,11 @@ bool ScScript::executeInstruction() {
 
 				if (DID_FAIL(res)) {
 					_stack->correctParams(0);
-					runtimeError("Call to undefined method '%s'. Ignored.", methodName);
+					if (BaseEngine::instance().getGameId() == "barrowhilldp" && strcmp(methodName, "MakeParticle") == 0) {
+						// Silence unknown opcode in 'Barrow Hill - The Dark Path'
+					} else {
+						runtimeError("Call to undefined method '%s'. Ignored.", methodName);
+					}
 					_stack->pushNULL();
 				}
 			}




More information about the Scummvm-git-logs mailing list