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

Strangerke noreply at scummvm.org
Fri Mar 7 06:28:38 UTC 2025


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:
2b47c8049f M4: RIDDLE: Fix 2 animation bugs in room 402 related to giving money to Wolf, add comment in flags about v116


Commit: 2b47c8049f398969da02cd21b8b32bb5e2fa339f
    https://github.com/scummvm/scummvm/commit/2b47c8049f398969da02cd21b8b32bb5e2fa339f
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2025-03-07T07:25:46+01:00

Commit Message:
M4: RIDDLE: Fix 2 animation bugs in room 402 related to giving money to Wolf, add comment in flags about v116

Changed paths:
    engines/m4/riddle/flags.h
    engines/m4/riddle/rooms/section4/room402.cpp


diff --git a/engines/m4/riddle/flags.h b/engines/m4/riddle/flags.h
index 2663854b5cb..d2a0f1e5a25 100644
--- a/engines/m4/riddle/flags.h
+++ b/engines/m4/riddle/flags.h
@@ -149,7 +149,7 @@ enum Flag {
 	V113 = 113,
 	V114 = 114,
 	V115 = 115,
-	V116 = 116,
+	V116 = 116, // Try to give to Wolf a foreign currency, room 402
 	V117 = 117,
 	V118 = 118,
 	V119 = 119,
diff --git a/engines/m4/riddle/rooms/section4/room402.cpp b/engines/m4/riddle/rooms/section4/room402.cpp
index 44db71e74b6..224f53cdf1d 100644
--- a/engines/m4/riddle/rooms/section4/room402.cpp
+++ b/engines/m4/riddle/rooms/section4/room402.cpp
@@ -274,7 +274,7 @@ void Room402::init() {
 
 void Room402::daemon() {
 	int frame;
-
+	
 	switch (_G(kernel).trigger) {
 	case 19:
 		ws_walk(_G(my_walker), 449, 317, nullptr, 20, 3);
@@ -1045,7 +1045,7 @@ void Room402::daemon() {
 		break;
 
 	case 202:
-		sendWSMessage_10000(1, _wolfieMach, _ripPaysWolfie, 1, 24, 203,
+		sendWSMessage_10000(1, _ripEnterLeave, _ripPaysWolfie, 1, 24, 203,
 			_ripPaysWolfie, 24, 24, 0);
 		break;
 
@@ -1187,7 +1187,7 @@ void Room402::daemon() {
 		break;
 
 	case 223:
-		sendWSMessage_10000(1, _wolfieMach, _ripPaysWolfie, 1, 24, 224,
+		sendWSMessage_10000(1, _ripEnterLeave, _ripPaysWolfie, 1, 24, 224,
 			_ripPaysWolfie, 24, 24, 0);
 		break;
 




More information about the Scummvm-git-logs mailing list