[Scummvm-git-logs] scummvm master -> 0a70a16fdd5d4c7d53b734f6e9de547b02a5f4fe

Strangerke noreply at scummvm.org
Wed Mar 5 23:33:32 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:
0a70a16fdd M4: RIDDLE: Fix some issues in conv402a in room 402


Commit: 0a70a16fdd5d4c7d53b734f6e9de547b02a5f4fe
    https://github.com/scummvm/scummvm/commit/0a70a16fdd5d4c7d53b734f6e9de547b02a5f4fe
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2025-03-06T00:33:21+01:00

Commit Message:
M4: RIDDLE: Fix some issues in conv402a in room 402

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


diff --git a/engines/m4/riddle/rooms/section4/room402.cpp b/engines/m4/riddle/rooms/section4/room402.cpp
index 3235391c23a..5588edb76fd 100644
--- a/engines/m4/riddle/rooms/section4/room402.cpp
+++ b/engines/m4/riddle/rooms/section4/room402.cpp
@@ -1592,18 +1592,15 @@ void Room402::conv402a() {
 			break;
 
 		case 7:
+		case 12:
 		case 25:
-			switch (entry) {
-			case 1:
+			if (entry == 1) {
 				digi_play(sound, 1);
 				_wolfMode = 2002;
 				_wolfShould = 2160;
-				break;
-
-			default:
+			} else {
 				_wolfShould = 2142;
 				digi_play(sound, 1, 255, 777);
-				break;
 			}
 			break;
 
@@ -1718,7 +1715,7 @@ void Room402::conv402a() {
 		case 53:
 		case 54:
 			_val8 = 1;
-			_wolfShould = 201;
+			_wolfShould = 2101;
 			digi_play(sound, 1, 255, 777);
 			break;
 




More information about the Scummvm-git-logs mailing list