Skip to content

Commit

Permalink
M4: RIDDLE: room 706: Small cleanup in daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Dec 10, 2024
1 parent 60d8932 commit 985e914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/m4/riddle/rooms/section7/room706.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 985e914

Please sign in to comment.