[Scummvm-git-logs] scummvm master -> 8f7056000079d690fccbe6ebb18f4b5422418aac

dreammaster noreply at scummvm.org
Thu Dec 28 00:38:44 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8f70560000 M4: Fix animation for dragging chain in test 5


Commit: 8f7056000079d690fccbe6ebb18f4b5422418aac
    https://github.com/scummvm/scummvm/commit/8f7056000079d690fccbe6ebb18f4b5422418aac
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2023-12-27T14:38:35-10:00

Commit Message:
M4: Fix animation for dragging chain in test 5

Changed paths:
    engines/m4/burger/rooms/section4/room406.cpp


diff --git a/engines/m4/burger/rooms/section4/room406.cpp b/engines/m4/burger/rooms/section4/room406.cpp
index c718768e9e6..05e0035ef30 100644
--- a/engines/m4/burger/rooms/section4/room406.cpp
+++ b/engines/m4/burger/rooms/section4/room406.cpp
@@ -1354,11 +1354,13 @@ void Room406::pre_parser() {
 	_G(kernel).trigger_mode = KT_DAEMON;
 
 	if (inv_player_has("HOOK")) {
+		_G(player).need_to_walk = false;
+		_G(player).ready_to_walk = false;
+
 		if (player_said("HOOK", "BARRED WINDOW ")) {
 			_G(wilbur_should) = 11;
 			kernel_trigger_dispatch_now(kCHANGE_WILBUR_ANIMATION);
-		} else if (!player_said("HOOK") ||
-				(player_said("HOOK") && player_said_any("YARD", "YARD "))) {
+		} else if (!player_said("HOOK") || player_said_any("YARD", "YARD ")) {
 			_G(wilbur_should) = 8;
 			kernel_trigger_dispatch_now(kCHANGE_WILBUR_ANIMATION);
 		} else {




More information about the Scummvm-git-logs mailing list