[Scummvm-git-logs] scummvm master -> 5acfaca9581f7f8175aa051802bf993428b77454
aquadran
noreply at scummvm.org
Sun Feb 8 10:30:32 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:
5acfaca958 WINTERMUTE: Change class method returned value.
Commit: 5acfaca9581f7f8175aa051802bf993428b77454
https://github.com/scummvm/scummvm/commit/5acfaca9581f7f8175aa051802bf993428b77454
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-02-08T11:30:21+01:00
Commit Message:
WINTERMUTE: Change class method returned value.
Changed paths:
engines/wintermute/ext/wme_protection.cpp
diff --git a/engines/wintermute/ext/wme_protection.cpp b/engines/wintermute/ext/wme_protection.cpp
index 339ef181de3..2506f22dbdb 100644
--- a/engines/wintermute/ext/wme_protection.cpp
+++ b/engines/wintermute/ext/wme_protection.cpp
@@ -55,11 +55,12 @@ bool SXProtection::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisS
//////////////////////////////////////////////////////////////////////////
// CheckExeProtection
// Reference in game scripts in "Susan Rose: Mysterious Child"
+ // Return value can be 0 or 1
//////////////////////////////////////////////////////////////////////////
if (strcmp(name, "CheckExeProtection") == 0) {
stack->correctParams(0);
- stack->pushInt(1);
+ stack->pushInt(0);
return STATUS_OK;
}
More information about the Scummvm-git-logs
mailing list