[Scummvm-git-logs] scummvm master -> 7780e3f4067166a387d26b412f257bb44683ff4d

neuromancer noreply at scummvm.org
Tue Jan 11 12:25:40 UTC 2022


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:
7780e3f406 HYPNO: correct solution to lock puzzle (easy) in spider


Commit: 7780e3f4067166a387d26b412f257bb44683ff4d
    https://github.com/scummvm/scummvm/commit/7780e3f4067166a387d26b412f257bb44683ff4d
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-01-11T13:25:34+01:00

Commit Message:
HYPNO: correct solution to lock puzzle (easy) in spider

Changed paths:
    engines/hypno/spider/hard.cpp


diff --git a/engines/hypno/spider/hard.cpp b/engines/hypno/spider/hard.cpp
index 0a081668673..fbbaa7f02ab 100644
--- a/engines/hypno/spider/hard.cpp
+++ b/engines/hypno/spider/hard.cpp
@@ -647,8 +647,8 @@ void SpiderEngine::runLock(Code *code) {
 
 			case Common::EVENT_LBUTTONDOWN:
 				if (act.contains(mousePos)) {
-					if (_sceneState["GS_PUZZLELEVEL"] == 0 && comb[0] == 1 && comb[1] == 1 && comb[2] == 1 && comb[3] == 1 && comb[4] == 1) {
-					 	_nextLevel = code->levelIfWin;
+					if (_sceneState["GS_PUZZLELEVEL"] == 0 && comb[0] == 4 && comb[1] == 0 && comb[2] == 3 && comb[3] == 1 && comb[4] == 2) {
+						_nextLevel = code->levelIfWin;
 					} else if (_sceneState["GS_PUZZLELEVEL"] == 1 && comb[0] == 1 && comb[1] == 1 && comb[2] == 1 && comb[3] == 1 && comb[4] == 1) {
 					 	_nextLevel = code->levelIfWin;
 					}




More information about the Scummvm-git-logs mailing list