[Scummvm-git-logs] scummvm master -> 2b2625fa34da5fc8693eca33e220afeff9921834

scemino noreply at scummvm.org
Thu Nov 20 19:19:53 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:
2b2625fa34 TWP: Fix some objects shouldn't be given


Commit: 2b2625fa34da5fc8693eca33e220afeff9921834
    https://github.com/scummvm/scummvm/commit/2b2625fa34da5fc8693eca33e220afeff9921834
Author: scemino (scemino74 at gmail.com)
Date: 2025-11-20T20:18:35+01:00

Commit Message:
TWP: Fix some objects shouldn't be given

Fix #15958

Changed paths:
    engines/twp/twp.cpp


diff --git a/engines/twp/twp.cpp b/engines/twp/twp.cpp
index 43ac9b1f897..8d3e4611c8c 100644
--- a/engines/twp/twp.cpp
+++ b/engines/twp/twp.cpp
@@ -274,6 +274,9 @@ bool TwpEngine::preWalk(Common::SharedPtr<Object> actor, VerbId verbId, Common::
 			debugC(kDebugGame, "%s %d n1=%s(%s) n2=%s -> %s", funcName.c_str(), verbId.id, noun1->_name.c_str(), noun1->_key.c_str(), n2Name.c_str(), result ? "yes" : "no");
 		}
 	}
+	if (!result) {
+		sqcallfunc(result, "actorPreWalk", verbId.id, noun1->_table, n2Table);
+	}
 	return result;
 }
 




More information about the Scummvm-git-logs mailing list