[Scummvm-git-logs] scummvm master -> 48e32b28b7403336f99d55e85b3be9352411865f
neuromancer
noreply at scummvm.org
Fri Jun 17 18:54:00 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:
48e32b28b7 HYPNO: update checkpoint after solving other puzzles in spider
Commit: 48e32b28b7403336f99d55e85b3be9352411865f
https://github.com/scummvm/scummvm/commit/48e32b28b7403336f99d55e85b3be9352411865f
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-06-17T20:54:36+02:00
Commit Message:
HYPNO: update checkpoint after solving other puzzles in spider
Changed paths:
engines/hypno/spider/hard.cpp
diff --git a/engines/hypno/spider/hard.cpp b/engines/hypno/spider/hard.cpp
index 6ccec657753..8ebedbd4c82 100644
--- a/engines/hypno/spider/hard.cpp
+++ b/engines/hypno/spider/hard.cpp
@@ -179,6 +179,7 @@ void SpiderEngine::runMatrix(Code *code) {
}
_nextLevel = code->levelIfWin;
+ _checkpoint = _nextLevel;
return;
}
@@ -509,6 +510,7 @@ void SpiderEngine::runNote(Code *code) {
}
_nextLevel = code->levelIfWin;
+ _checkpoint = _nextLevel;
return;
}
@@ -894,8 +896,10 @@ void SpiderEngine::runLock(Code *code) {
} else if (act.contains(mousePos)) {
if (_sceneState["GS_PUZZLELEVEL"] == 0 && comb[0] == 4 && comb[1] == 0 && comb[2] == 3 && comb[3] == 1 && comb[4] == 2) {
_nextLevel = code->levelIfWin;
+ _checkpoint = _nextLevel;
} else if (_sceneState["GS_PUZZLELEVEL"] == 1 && comb[0] == 1 && comb[1] == 3 && comb[2] == 4 && comb[3] == 2 && comb[4] == 0) {
_nextLevel = code->levelIfWin;
+ _checkpoint = _nextLevel;
}
}
More information about the Scummvm-git-logs
mailing list