[Scummvm-git-logs] scummvm master -> 0cb25d1359ed341929ba52fb39f894a3514d210e
dreammaster
noreply at scummvm.org
Tue Oct 20 11:32:22 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:
0cb25d1359 M4: RIDDLE: Add missing up exit in room 607
Commit: 0cb25d1359ed341929ba52fb39f894a3514d210e
https://github.com/scummvm/scummvm/commit/0cb25d1359ed341929ba52fb39f894a3514d210e
Author: sloanext (46776957+sloanext at users.noreply.github.com)
Date: 2026-10-20T01:32:17-10:00
Commit Message:
M4: RIDDLE: Add missing up exit in room 607
Changed paths:
engines/m4/riddle/rooms/section6/room607.cpp
engines/m4/riddle/rooms/section6/room607.h
diff --git a/engines/m4/riddle/rooms/section6/room607.cpp b/engines/m4/riddle/rooms/section6/room607.cpp
index 61ef0109cf7..88792c6a779 100644
--- a/engines/m4/riddle/rooms/section6/room607.cpp
+++ b/engines/m4/riddle/rooms/section6/room607.cpp
@@ -322,6 +322,8 @@ void Room607::parser() {
// No implementation
} else if (player_said("right") && right()) {
// No implementation
+ } else if (player_said("up") && up()) {
+ // No implementation
} else if (player_said("down") && down()) {
// No implementation
} else {
@@ -371,6 +373,26 @@ bool Room607::right() {
return false;
}
+bool Room607::up() {
+ switch (_G(kernel).trigger) {
+ case -1:
+ player_set_commands_allowed(false);
+ disable_player_commands_and_fade_init(1);
+ return true;
+ case 1:
+ digi_stop(1);
+ digi_stop(2);
+ adv_kill_digi_between_rooms(false);
+ digi_play_loop("950_s28C", 3, 90);
+ _G(game).setRoom(645);
+ return true;
+ default:
+ break;
+ }
+
+ return false;
+}
+
bool Room607::down() {
switch (_G(kernel).trigger) {
case -1:
diff --git a/engines/m4/riddle/rooms/section6/room607.h b/engines/m4/riddle/rooms/section6/room607.h
index d323b34c0d0..c0a21bc3402 100644
--- a/engines/m4/riddle/rooms/section6/room607.h
+++ b/engines/m4/riddle/rooms/section6/room607.h
@@ -41,6 +41,7 @@ private:
bool left();
bool right();
+ bool up();
bool down();
public:
More information about the Scummvm-git-logs
mailing list