[Scummvm-git-logs] scummvm master -> 5ae68fed16114ae7229fb710fdea6973637ff67e
aquadran
noreply at scummvm.org
Wed Jul 16 13:37:55 UTC 2025
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:
5ae68fed16 WINTERMUTE: Fixed W/A
Commit: 5ae68fed16114ae7229fb710fdea6973637ff67e
https://github.com/scummvm/scummvm/commit/5ae68fed16114ae7229fb710fdea6973637ff67e
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-07-16T15:37:51+02:00
Commit Message:
WINTERMUTE: Fixed W/A
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 06a784e5f45..552f4e9b7ab 100644
--- a/engines/wintermute/base/scriptables/script.cpp
+++ b/engines/wintermute/base/scriptables/script.cpp
@@ -640,8 +640,8 @@ bool ScScript::executeInstruction() {
// leading to call on a non-existent (freed) instance.
if (BaseEngine::instance().getGameId() == "alphapolaris" &&
var->isNative() &&
- strcmp(methodName, "Reset") &&
- strcmp(_filename, "scenes\\Out_door\\scr\\barrel.script")) {
+ strcmp(methodName, "Reset") == 0 &&
+ strcmp(_filename, "scenes\\Out_door\\scr\\barrel.script") == 0) {
_stack->correctParams(0);
_stack->pushNULL();
More information about the Scummvm-git-logs
mailing list