[Scummvm-git-logs] scummvm master -> 209976fdaa3d3081ed22d82bfbae606177f21534

bluegr noreply at scummvm.org
Fri Aug 14 18:53:01 UTC 2026


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:
209976fdaa M4: RIDDLE: Fix looping com017 response in room 806


Commit: 209976fdaa3d3081ed22d82bfbae606177f21534
    https://github.com/scummvm/scummvm/commit/209976fdaa3d3081ed22d82bfbae606177f21534
Author: sloanext (46776957+sloanext at users.noreply.github.com)
Date: 2026-08-14T21:52:56+03:00

Commit Message:
M4: RIDDLE: Fix looping com017 response in room 806

digi_play("com017", 1, 255, 997) passed 997 as the trigger instead of
the (sound) room number, so when the sample finished, the trigger was
dispatched in KT_PARSE mode and kept re-running Room806::parser(),
looping the response.

Changed paths:
    engines/m4/riddle/rooms/section8/room806.cpp


diff --git a/engines/m4/riddle/rooms/section8/room806.cpp b/engines/m4/riddle/rooms/section8/room806.cpp
index b4e3c6ba9c8..309ee49e7ec 100644
--- a/engines/m4/riddle/rooms/section8/room806.cpp
+++ b/engines/m4/riddle/rooms/section8/room806.cpp
@@ -1024,7 +1024,7 @@ void Room806::parser() {
 		digi_play("com042", 1, 255, -1, 997);
 
 	else if (!gearFl && player_said_any("MEI CHEN", "MEI CHEN "))
-		digi_play("com017", 1, 255, 997);
+		digi_play("com017", 1, 255, -1, 997);
 
 	else if (((walkFl && player_said("    ")) || (!walkFl && player_said("east"))) && _G(flags)[V266] == 0) {
 		switch (_G(kernel).trigger) {




More information about the Scummvm-git-logs mailing list