[Scummvm-git-logs] scummvm master -> ea54d0580a239dd6ac6338844f0f3349ef42b06a
aquadran
noreply at scummvm.org
Thu Jul 16 07:51:47 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:
ea54d0580a WINTERMUTE: Silence script error for not existing Close method in 'Dark Fall: Lost Souls'
Commit: ea54d0580a239dd6ac6338844f0f3349ef42b06a
https://github.com/scummvm/scummvm/commit/ea54d0580a239dd6ac6338844f0f3349ef42b06a
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-07-16T09:51:34+02:00
Commit Message:
WINTERMUTE: Silence script error for not existing Close method in 'Dark Fall: Lost Souls'
Changed paths:
engines/wintermute/ad/ad_scene.cpp
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp
index f5531c5730f..7793624aae1 100644
--- a/engines/wintermute/ad/ad_scene.cpp
+++ b/engines/wintermute/ad/ad_scene.cpp
@@ -2361,6 +2361,18 @@ bool AdScene::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack,
}
#endif
+ //////////////////////////////////////////////////////////////////////////
+ // Close
+ //////////////////////////////////////////////////////////////////////////
+ else if (strcmp(name, "Close") == 0) {
+ if (BaseEngine::instance().getGameId() == "darkfallls") {
+ // Stub function to silence script error report in 'Dark Fall: Lost Souls'
+ return STATUS_OK;
+ } else {
+ return BaseObject::scCallMethod(script, stack, thisStack, name);
+ }
+ }
+
else {
return BaseObject::scCallMethod(script, stack, thisStack, name);
}
More information about the Scummvm-git-logs
mailing list