[Scummvm-git-logs] scummvm master -> 985e9147a4ca1fa9e1658abd03ab554dd5365c47
Strangerke
noreply at scummvm.org
Tue Dec 10 06:31:14 UTC 2024
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:
985e9147a4 M4: RIDDLE: room 706: Small cleanup in daemon
Commit: 985e9147a4ca1fa9e1658abd03ab554dd5365c47
https://github.com/scummvm/scummvm/commit/985e9147a4ca1fa9e1658abd03ab554dd5365c47
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-12-10T07:31:04+01:00
Commit Message:
M4: RIDDLE: room 706: Small cleanup in daemon
Changed paths:
engines/m4/riddle/rooms/section7/room706.cpp
diff --git a/engines/m4/riddle/rooms/section7/room706.cpp b/engines/m4/riddle/rooms/section7/room706.cpp
index 23eb0b3f1c4..7bd92978751 100644
--- a/engines/m4/riddle/rooms/section7/room706.cpp
+++ b/engines/m4/riddle/rooms/section7/room706.cpp
@@ -147,7 +147,7 @@ void Room706::parser() {
}
void Room706::daemon() {
- bool esi = player_said("take");
+ const bool takeFl = player_said("take");
switch (_G(kernel).trigger) {
case 70:
@@ -253,7 +253,7 @@ void Room706::daemon() {
break;
case 83:
- if (!esi || _G(player).click_y > 374)
+ if (!takeFl || _G(player).click_y > 374)
break;
switch (imath_ranged_rand(1, 3)) {
More information about the Scummvm-git-logs
mailing list