[Scummvm-git-logs] scummvm master -> 187a1bf7515edb4036cc97cab707b7361b00fba0

scemino noreply at scummvm.org
Sun Jun 29 19:59:06 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:
187a1bf751 TWP: Fix freeze when giving item to plant in Quickie Pal


Commit: 187a1bf7515edb4036cc97cab707b7361b00fba0
    https://github.com/scummvm/scummvm/commit/187a1bf7515edb4036cc97cab707b7361b00fba0
Author: scemino (scemino74 at gmail.com)
Date: 2025-06-29T21:58:39+02:00

Commit Message:
TWP: Fix freeze when giving item to plant in Quickie Pal

Fix #15940

Changed paths:
    engines/twp/actorlib.cpp


diff --git a/engines/twp/actorlib.cpp b/engines/twp/actorlib.cpp
index 8511ab64e47..caf0a9c85cf 100644
--- a/engines/twp/actorlib.cpp
+++ b/engines/twp/actorlib.cpp
@@ -512,7 +512,7 @@ static SQInteger actorPosY(HSQUIRRELVM v) {
 // Plays the specified animation from the player's costume JSON filename.
 // If YES loop the animation. Default is NO.
 static SQInteger actorPlayAnimation(HSQUIRRELVM v) {
-	Common::SharedPtr<Object> actor = sqactor(v, 2);
+	Common::SharedPtr<Object> actor = sqobj(v, 2);
 	if (!actor)
 		return sq_throwerror(v, "failed to get actor");
 	Common::String animation;




More information about the Scummvm-git-logs mailing list