[Scummvm-git-logs] scummvm master -> b34d606e5044e3abfdb99cf450ad500e20f63b1c
Strangerke
noreply at scummvm.org
Sun Dec 8 19:24: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:
b34d606e50 M4: RIDDLE: room 705: Constify 3 variables in parser
Commit: b34d606e5044e3abfdb99cf450ad500e20f63b1c
https://github.com/scummvm/scummvm/commit/b34d606e5044e3abfdb99cf450ad500e20f63b1c
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-12-08T20:24:06+01:00
Commit Message:
M4: RIDDLE: room 705: Constify 3 variables in parser
Changed paths:
engines/m4/riddle/rooms/section7/room705.cpp
diff --git a/engines/m4/riddle/rooms/section7/room705.cpp b/engines/m4/riddle/rooms/section7/room705.cpp
index 02c345a1c57..2cbd4e13181 100644
--- a/engines/m4/riddle/rooms/section7/room705.cpp
+++ b/engines/m4/riddle/rooms/section7/room705.cpp
@@ -137,10 +137,10 @@ void Room705::pre_parser() {
}
void Room705::parser() {
- bool lookFl = player_said_any("look", "look at");
+ const bool lookFl = player_said_any("look", "look at");
const bool talkFl = player_said_any("talk", "talk to");
- bool takeFl = player_said("take");
- bool gearFl = player_said_any("push", "pull", "gear", "open", "close");
+ const bool takeFl = player_said("take");
+ const bool gearFl = player_said_any("push", "pull", "gear", "open", "close");
if (player_said("conv705a")) {
if (_G(kernel).trigger == 90)
More information about the Scummvm-git-logs
mailing list